I have a little issue animating my navigation bar.
I created a second, more condensed version of my navigation for the user while scrolling (the navigation in the header would be too big) and. I was able to make it appear by setting the news element beneath the header scrolling into view as a trigger.
But now, I am having trouble making it disappear when I scroll up again so I don’t end up with two navbars when I am back on top. I tried setting a second trigger for the navbar to disappear when the header scrolls into view, but this doesn’t seem to work. What would be the best way to make it disappear again?
Thank you fro your help!
Here is my public share link: Webflow - Cavaliero & Associates