melaniejaane Posted September 23 Posted September 23 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
melaniejaane Posted October 18 Author Posted October 18 @tuanphan any chance you would know how to do this? 🙂
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment