emjay89 Posted August 14, 2022 Posted August 14, 2022 Site URL: https://bobcat-deer-6yf9.squarespace.com/ Hi, I'm trying to custmoise the background colour of my header when it's 'scrolling back'. The background is transparent in the default state, but when I'm scrolling to the top of the page, the 'scroll-back' effect gives the header a black background. Ideally I'd like it to be white. Anyone know how I can fix this? Any help would be appreciated. https://bobcat-deer-6yf9.squarespace.com/ Thanks!
Solution tuanphan Posted August 16, 2022 Solution Posted August 16, 2022 Add to Design > Custom CSS header#header.shrink { background-color: white !important; } header#header.shrink a#site-title { color: black !important; } header#header.shrink svg { fill: black; } header#header.shrink div.header-nav-item a { color: black; } 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!)
emjay89 Posted August 21, 2022 Author Posted August 21, 2022 amazing! This worked a treat. Thank you so much
jordan2gpaint Posted May 20 Posted May 20 Hello, This worked perfectly on my website as well.. but is it possible for someone to add the code for: - a button - my social links no longer have the round outline border - dropdown menu to have a background - and said dropdown menu to have curved corners url https://horse-mayflower-pt46.squarespace.com/config/pages Many thanks in advance
tuanphan Posted May 21 Posted May 21 On 5/20/2024 at 7:25 AM, jordan2gpaint said: Hello, This worked perfectly on my website as well.. but is it possible for someone to add the code for: - a button - my social links no longer have the round outline border - dropdown menu to have a background - and said dropdown menu to have curved corners url https://horse-mayflower-pt46.squarespace.com/config/pages Many thanks in advance What is 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment