CynMetz Posted November 24, 2022 Posted November 24, 2022 Hi, I set up our website in 2020 and everything has been fine till I noticed today the gradient background I set up for every page is gone. The footer is also weird. When I check the CSS and change it, it only changes the footer colours. I haven't changed any CSS codes, so not sure what has happened? The code I used for it: .site-wrapper{background: linear-gradient(to top,#A9ACB6, #00688B, #000000)!important;} .page-section, .section-background{background:transparent!important;} Any help appreciated!
Solution beatrizc Posted November 25, 2022 Solution Posted November 25, 2022 Hey @CynMetz! That issue is coming from a recent update. There's a new container (.section-border) that carries the background color for the content sections. And since that one isn't being targeted in your current code, it's not set as transparent. You can easily fix that by swapping that second code line for this one: .page-section, .section-background, .section-border {background:transparent!important;} Hope that helps! tuanphan 1 Squarespace Coding Expert | Coding the heck out of Squarespace, one wtf at a time. ☞ Search through The Codebase to learn new CSS tricks and awesome customizations. ☞ Get +150 mini-plugins ready to copy-paste to fix or tweak your Squarespace site. ☞ Got a rare, medium rare or fully cooked idea for your client's project? Let's make it a reality. Website | Youtube
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment