joecookjc Posted May 13, 2022 Share Posted May 13, 2022 Site URL: http://capybera-point-sp57.squarespace.com Hey there! I was wondering if there's a way to have a transparent fixed header that switches the font color when scrolling. I'm not sure if that makes sense. So right now my header is in dynamic mode and I have the font color as a white because I like the way it looks on the colors of the moving background. However, I want to add a fixed scrolling header and an issue comes into play when I scroll down. Lower down the background of my site is white, so you aren't able to see the text in the header. Is there a way to have the text be white while at the top of the page, and then change to black or another more visible color when you scroll down? Link to comment
tuanphan Posted May 15, 2022 Share Posted May 15, 2022 Hi. What is access password? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
joecookjc Posted May 15, 2022 Author Share Posted May 15, 2022 23 minutes ago, tuanphan said: Hi. What is access password? Sorry forgot to post it! Password is: 1234 Link to comment
tuanphan Posted May 15, 2022 Share Posted May 15, 2022 10 minutes ago, joecookjc said: Sorry forgot to post it! Password is: 1234 Thank you. Try adding to Design > Custom CSS header#header.shrink * { color: black !important; } joecookjc 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
joecookjc Posted May 15, 2022 Author Share Posted May 15, 2022 4 minutes ago, tuanphan said: Thank you. Try adding to Design > Custom CSS header#header.shrink * { color: black !important; } Wow. You're amazing. Thank you! Link to comment
adka Posted September 20, 2022 Share Posted September 20, 2022 Hey, Thanks for that code tuanphan. Is there a way to make the same happening for the logo? Kind regards Adam. Link to comment
tuanphan Posted September 20, 2022 Share Posted September 20, 2022 13 hours ago, adka said: Hey, Thanks for that code tuanphan. Is there a way to make the same happening for the logo? Kind regards Adam. What is your site url? Depend on logo color, we can adjust the code easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment