Hi everyone,
I’m currently working on my website design aspect and could use some advice. My goal is to enhance the header’s text visibility as the user scrolls down the page. Initially, when the user is at the top of the main page, the header text color needs to be white (also need to figure out how to change the color of the header text when normally displayed). And when the page is scrolled down and the sticky header activates, I want the text color to switch to black. This change is essential to maintain legibility against the sticky header’s white background.
I’m looking for suggestions or code snippets that could help me achieve this seamless transition in text color.
Any insights or experiences you’ve had with similar design challenges would be greatly appreciated!
Website: Aromidy.com
Password: Aromidy2023
Thank you in advance for your help!