Hi I have a navbar with a gradient black to transparent background. When the page scrolls down that navbar is hidden and then when the user scrolls up I am showing it again. When I show it again I want it to be white. I can set that option in the animation panel, but I can’t find a way to remove the gradient.
Create a new div and wrap all of your nav content inside it (you’ll need to make its width 100% and padding 24px and remove the padding from the Nav Bar 2
Apply the gradient on the new div
In your interactions, you’ll be able to control the opacity of the new div, so you can make it 0% when you want the Nav Bar 2 background to be white. Hope that makes sense!
ouch! I found a problem with that. When I set the opacity to 0% then everything disappears as it is inside the div.
The only idea I can come up is having 2 nav bars and hiding one and then unhiding the other.
Seems like too much, but I can’t think of any other way