Replies: 1 comment 3 replies
-
If you merely insert a top bar in your html, the bar will scroll with page. To keep the top bar in place as you scroll you need to use the sticky plugin (see https://get.foundation/sites/docs/sticky.html#sticky-navigation). |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to add a feature to our website where if you scroll down the page the top bar will hide, but if you scroll back up the top bar shows again. On Foundation docs site (https://get.foundation/sites/docs/top-bar.html) it does this for the small breakpoint it looks like. If you resize your window to be for the small breakpoint then the whole top bar hides and shows as you move up or down the page. Is this something that can be added with Foundation? Is it one of the features that I'm just missing somewhere? If it is a Foundation feature, can someone point me to where it is? If not does anyone have a reference of how to do this?
Beta Was this translation helpful? Give feedback.
All reactions