ReformDesign Posted February 4, 2023 Share Posted February 4, 2023 I'm trying to add a border between sections on my site. Ideally this would be done with an SVG mask, but I settled for trying with a PNG image instead. This is where I'm at right now: [data-section-id="63deaf31f73bb003a7fce3df"] { overflow: visible; &:before { content: ''; width: 100%; height: 100%; background-image: url(https://static1.squarespace.com/static/63da9ac5c9844e3c54f8abd2/t/63deac4ef73bb003a7fc7b5e/1675537486671/Raven+Flower+Torn+Paper+Up.png); position: relative; background-repeat: no-repeat; background-position: top; top: -20px; margin-top: 1px; pointer-events: none!important; z-index: 101; } } Nothing I do seems to be selecting the section. Even if I just try to set the background color of the section, it's not working. The PNG linked above should be placed before the targeted section, therefore displaying on top of the banner image. Link to comment
ReformDesign Posted February 4, 2023 Author Share Posted February 4, 2023 Nevermind... I found a misplaced bracket in my CSS that was applying it to another collection. If anyone want's to offer guidance on doing this with an SVG mask I'd still love to learn that! tuanphan 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment