Skip to content Skip to sidebar Skip to footer

Sticky Nav Won't Scroll On Short Pages

I'm developing a site for a florist and am currently testing and refining it. A long-standing issue is with the navbar, which is supposed to stick to the top of the page when the u

Solution 1:

I think that the Jquery plugin called StickyJS can help you : http://stickyjs.com

Solution 2:

Your minimum page height needs to be at least as high as the fully expanded nav bar. Try setting the #container style to a min-height.

Post a Comment for "Sticky Nav Won't Scroll On Short Pages"