Is it possible to change the color of the text in the menu from white in the initial position at the top to black when it becomes a sticky menu in a smooth fading way? What css should I use?
And is it possible to have a smooth fading transition between the regular menu and the sticky menu when I scroll back up? Right now only when I scroll down it is smooth.
What I want to achieve is that the text in the menu fades to a black color in the sticky menu when you scroll down. The code you provided didn’t achieve this yet.
The other thing I would like to achieve is that when the user scrolls back up the background of the menu and the text in the menu fade back to their original state (no background and white text). In other words: right now there is a fading animation when I go down (for the background of the menu) but I also like it to be there when you scroll back up.
I hope this makes sense…
PS: I also have an issue with ร characters appearing randomly but I’m working with someone else on that, however if you know how to fix it quickly that would be appreciated too ๐
1. You want the text to turn black even though the background turns black? I’m not seeing the CSS I provided above? It should work if that’s what you’re going for.