Menu icon Foundation
Collapse sticky top bar when scrolling down

Hello! Is there a way to collapse a sticky top bar, when the user scrolls down and expand it again, when the user scrolls back to the top? Thanks, Andrej

top barstickycollapsescroll

Hello! Is there a way to collapse a sticky top bar, when the user scrolls down and expand it again, when the user scrolls back to the top? Thanks, Andrej

Andrej Marffy over 4 years ago

Hi Rafi, thanks a lot for the link!

The instructions there explain how to shrink the top bar, but by "collapse" I meant that I'd like to change it to the hamburger when scrolling down. Sorry if my question wasn't clear.

Is there a class that hamburgerizes the top bar or did I miss something in the instructions?