SarahKing Posted January 24, 2023 Share Posted January 24, 2023 Hello all, I'm trying to change all navigation items (nav links, logo, social icons, button, border, etc.) text color on scroll ideally at 2s-4s or 25% down the page ONLY on the homepage. Any CSS help is greatly appreciated! Link: https://mandarin-parsnip-nj7c.squarespace.com/config/ Password: OreoCookie Link to comment
Solution tuanphan Posted January 27, 2023 Solution Share Posted January 27, 2023 Add to Design > Custom CSS header#header.shrink a { color: black; opacity: 1; } header#header.shrink img { filter: invert(1); } header#header.shrink use { fill: black !important; stroke: black !important; } nathan.j.p 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
SarahKing Posted January 30, 2023 Author Share Posted January 30, 2023 (edited) @tuanphan works great but it didn't keep the bottom border on scroll, should I just add "border: 1px;" somewhere? Edited January 30, 2023 by SKPhotography Link to comment
tuanphan Posted February 2, 2023 Share Posted February 2, 2023 On 1/30/2023 at 8:08 AM, SKPhotography said: @tuanphan works great but it didn't keep the bottom border on scroll, should I just add "border: 1px;" somewhere? Add this code under header#header.shrink { border-bottom: 2px solid red; } 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