Secondary nav appears / hides on scroll

Hello!

So I am currently working on a mobile secondary nav solution. Here goes:

When secondary nav hits the top of the browser it sticks. However if you are somewhere mid-page and start to scroll up, the nav would disappear. If you scroll down, it would reappear and if you scroll to the original location of the secondary nav, it would lock again. So far I have the secondary nav sticking to the top nailed down, but I can’t seem to figure out how to get the scroll triggers to work. Any help on this is greatly appreciated!

Here is a link:
example link

  • Lara

Post your read-only link so the community can take a look for you.

My apologies! All fixed. Thanks! :slight_smile:

Okay, good deal. Have fun.