melaniejaane Posted September 21 Posted September 21 I have created this curved effect at the top of my footer. It works on most pages except ones that have a non-white section above them. Does anyone know a way to create a dynamic background color that pulls from the VISIBLE section above? This is my current code: footer section:nth-child(3) div.section-border .section-background{ outline:1.5px @black solid; border-radius:40px 40px 0 0!important; } footer section:nth-child(3){ div.section-border{background:inherit!important;} } Further context if needed: I have two additional footer sections that are hidden on most pages which is why the native divider of the section above doesn't work. I also tried adjusting the padding + position of the sections to overlap but it created challenges in edit mode + wasn't consistent on every page (probably because sometimes section is in footer and other times in main body?) Website pages in order: selwyndealers.squarespace.com selwyndealers.squarespace.com/shop selwyndealers.squarespace.com/services
tuanphan Posted September 24 Posted September 24 Can you share link to some pages where it worked? We can compare code easier 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