Hey dear Webflow community,
I’m going crazy over these interactions. Everything seems set up correctly, but it doesn’t behave the way I wish.
My (customer’s) goal is to have the subnav of this page stick to the upper border of the viewport, once it scrolled there. I searched Webflow for different solutions.
To accomplish that, I have two navbars. The upper is set to display:none as initial state. That works, but the way back doesn’t:
There’s a trigger just above the 2nd navbar, to show/hide the 1st:
- Q1: Is this the best approach to this problem?
- Q2: What am I doing wrong?
Here is my public share link, Subpage “Volksmusik”: https://preview.webflow.com/preview/bayerischer-landesverein-heimatpflege?utm_source=bayerischer-landesverein-heimatpflege&preview=00e6c3414d0c2ec38e91424f71c46b38