Anele0610 Posted August 27, 2021 Posted August 27, 2021 Site URL: https://sphere-onion-lxxn.squarespace.com Hello! I'm looking to customize the body color of any section I need. I'm working with slanted section dividers, but since I want to have a very dynamic color scheme, the slants reveal a body color that I'm not interested in. See screenshot for example of problem. I want that light grey to be the dark green of the top section. This i want to do with multiple section accross the website, so I need this solution 🙂 Website: https://sphere-onion-lxxn.squarespace.com/ Password: squarespace123 Thanks!
tuanphan Posted August 30, 2021 Posted August 30, 2021 Hi, have you found the solution yet? 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!)
Anele0610 Posted August 30, 2021 Author Posted August 30, 2021 Hey @tuanphan, No I havent, I just removed the spot, as I had to show my client my progress. Website: https://sphere-onion-lxxn.squarespace.com/ Password: squarespace123 On the website, you can see the example of the problem on the 'test page'. I attach a screenshot. I need the yellow area to become dark blue, like the section i'm trying to connect with. Code I'm using: #collection-612cd88262aa021891e29d74 { #page .page-section:nth-of-type(3) { -webkit-clip-path: polygon(0 0, 100% 16%, 100% 100%, 0% 100%); clip-path: polygon(0 0, 100% 16%, 100% 100%, 0% 100%); } }
Anele0610 Posted September 2, 2021 Author Posted September 2, 2021 Hello! I urgently need help with this. The ultimate question is - how to change the body (not background, not inset and not background overlay!) color of a section? Thank you! Anele
tuanphan Posted September 5, 2021 Posted September 5, 2021 try [data-section-id="enter id here"] .section-background { background-color: #f1f2f3 !important; } Find data section id with this tool https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en 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!)
Anele0610 Posted September 6, 2021 Author Posted September 6, 2021 On 9/5/2021 at 5:08 AM, tuanphan said: try [data-section-id="enter id here"] .section-background { background-color: #f1f2f3 !important; } Find data section id with this tool https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en Hey @tuanphan, Sadly, It doesn't work. This targets the background color, which is just the front color of the section. I need to change the body color. That's the color behind the section background color, if i make a clipping path of a shape of a section.. Any ideas? This color changes sitewide if i change the middle palette color. But I want to manually change it per section, to make a more vibrant design.. Anele
Anele0610 Posted September 18, 2021 Author Posted September 18, 2021 Hey @tuanphan Do you have time to help me out with this? I cannot find the solution.. The only thing that changes is the background color, not the color underneath the clipping path 😞 😞 I really hope for your reply, Anele
Anele0610 Posted September 25, 2021 Author Posted September 25, 2021 Hey @tuanphan, Checking in, is this just maybe not possible? thanks, Anele
Will77 Posted May 9, 2022 Posted May 9, 2022 (edited) Hi @Anele0610, @tuanphan Just reaching out to see if you ever solved this? I really need to do the same as am also using clip paths and need to target the body color exactly as you are describing. I can do the whole lot but not per section / per body. Help! Thanks in advance! 🙂 Will. Edited May 9, 2022 by Will77
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment