Streaming live at 10am (PST)

Scroll interaction on navbar

Hello im having an issue with my navbar.

I wanted to create this effect on my site:

The fixed navbar only shows when going down and disappears when going up. That’s ok I put interaction page scrolled into the navbar and insert the values on “when scroll up” and “when scroll down” and it worked. The problema is that this is assuming in all page. For example when I’m on the bottom of the page and i scroll up the navbar disappears. I want it to disappear only on the hero section.
What can i do? I wanted to do like on this link i found:

I actually tried the interaction “when page is scrolling” and it worked, but i did’nt like the effect because its using keyframes.

Here is my read only link:


Hey Helena,

I’m only a modest community manager so I’m not sure how to help :wink:, but thought maybe @Livia_Zhang could help you out since she was the one who built that example you’re referring to!

PS: little tip, it’d be nice if you can add a profile picture! It’s always nicer when you know who you’re talking to!

1 Like

Hey Helena, basically i had two nav bars and show/hide them according to body’s position and hero section’s position. For more details please checkout body & hero section’s legacy interactions. Since it is hard to describe in words, i also created a cloneable project for you. Clone it and play with it a bit :slight_smile: