hiddenroutes Posted January 18, 2023 Posted January 18, 2023 Hi. I have used custom CSS to add a background image of repeating contour lines. Up until recently this was showing up but something I have done has made it disappear. I can't work out what though. Could anyone help please? The custom CSS is below with the last section being the part for the background contours. Thank you, Jacob. Quote .header { background-image:url(https://static1.squarespace.com/static/63288878f14e8d4fb8fe3e93/t/63453203fd1e4f432fc51410/1665479172415/LLys+Meddyg+-+Mountain+Bike+Shoot+-+Owen+Howells+Photography-089.jpghttps://static1.squarespace.com/static/63288878f14e8d4fb8fe3e93/t/63453203fd1e4f432fc51410/1665479172415/LLys+Meddyg+-+Mountain+Bike+Shoot+-+Owen+Howells+Photography-089.jpghttps://static1.squarespace.com/static/63288878f14e8d4fb8fe3e93/t/63453203fd1e4f432fc51410/1665479172415/LLys+Meddyg+-+Mountain+Bike+Shoot+-+Owen+Howells+Photography-089.jpghttps://static1.squarespace.com/static/63288878f14e8d4fb8fe3e93/t/63453203fd1e4f432fc51410/1665479172415/LLys+Meddyg+-+Mountain+Bike+Shoot+-+Owen+Howells+Photography-089.jpg); background-repeat:no-repeat; background-size:cover; background-position: center; } #header { height: 70%; } // Hamburger Menu Colour // .burger-inner > div { background-color: #000000 !important; } .header .header-burger{display:flex} .header-nav, .header-actions {display:none} .header--menu-open .header-menu { opacity: 1; visibility: visible; width: 100%; margin-left: ; } footer#footer-sections .content-wrapper { background: #eaeaea !important; } .header--menu-open .header-menu { padding-top: 100px !important; } .section-background, .page-section { background: transparent !important; } body { background-image: url(https://static1.squarespace.com/static/63288878f14e8d4fb8fe3e93/t/6357de95a1061a1d010cc4d0/1666702998585/Contour+background+3.jpg); background-size: 60%; background-repeat: tile; background-position: center center; background-color: transparent !important; }
tuanphan Posted January 19, 2023 Posted January 19, 2023 Hi, What is your site url? 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!)
Solution paul2009 Posted January 21, 2023 Solution Posted January 21, 2023 On 1/18/2023 at 10:27 AM, hiddenroutes said: I have used custom CSS to add a background image of repeating contour lines. Up until recently this was showing up but something I have done has made it disappear. I can't work out what though. Could anyone help please? Hi @hiddenroutes Squarespace made a change to page sections in early November 2022, adding a new div with a section-border class. Any CSS intended to style section backgrounds that was added before this change would have stopped working - including yours. You should be able to resolve this (at least temporarily) by making the new div transparent by adding the following CSS below your existing styles: .section-border { background-color: transparent!important; } I said "temporarily" because this wasn't the last planned change to page sections, so this may stop working again in the near future. It will be worth keeping an eye on it. Did this help? Please give feedback by clicking an icon below ⬇️ hiddenroutes 1 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.
hiddenroutes Posted January 23, 2023 Author Posted January 23, 2023 Thank you so much. Fixed it. No wonder I was confused. Will keep an eye out for things changing. The help is very much appreciated. paul2009 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment