I have been chipping away at how to change the menu bar header, logo and text color upon scrolling.
What I want to achieve: With this CSS code you can…
- Invert logo color
- Change menu text color
- Change button text color and it’s hover state
- Change background of sticky header
I’ve got it 92% figured out with CSS and the Java code I found here in the forums but then read this as a reply to someone else’s post and I feel like it would be a better option for me since i’m using a custom header builder to begin with.
Quote from support specialist: "All that being said, there are certainly some alternatives you can explore to achieve this effect.
- When you have finished your bar, you can duplicate it, and set the second bar to be sticky and have a delayed reveal. This recreates the general effect minus the transition of the colors all happening inline. This was where we landed at for ourselves as a happy medium without bloating out the product for this one specialized effect."
My question is how to be able to switch between the 2 different scrolling and static menu bars.
a: for home page for sure and maybe for the whole website.
Thanks!