Streaming live at 10am (PST)

Global Nav Scroll Fade and Snap to Top


#1

I have a site that has two navs. I would like the secondary nav to snap to the top once I scroll.

similiar to the Syfy.com site marquee area.


#2

Hey @amandafong

You can do this with a little bit of jQuery in the custom code section.

There's a great article on HongKiat which you can use the code from: http://www.hongkiat.com/blog/css-sticky-position/

Essentially all it does it makes the position of your nav fixed ("snap to top") when you scroll past it. Hope this helps


#3