I am trying to implement a CSS wave divider from https://shapedividers.com/?dividerDirection=top&longAxisValue=100&shortAxisValue=90&positionValue=50&flipped=false&animate=false&animLength=10&shapeColor=ffffff&si=1&shapeRatio=false&mobileReady=false
I’ve generated the code :
.shapedividers_com-6029{
overflow:hidden;
position:relative;
}
.shapedividers_com-6029::before{
content:’’;
font-family:‘shape divider from ShapeDividers.com’;
position: absolute;
z-index: 3;
pointer-events: none;
background-repeat: no-repeat;
bottom: -0.1vw;
left: -0.1vw;
right: -0.1vw;
top: -0.1vw;
background-size: 100% 90px;
background-position: 50% 100%; background-image: url('data:image/svg+xml;charset=utf8, ');
}
@media (min-width:2100px){
.shapedividers_com-6029::before{
background-size: 100% calc(2vw + 90px);
}
}
And then this is what I tried but didn’t work:
- Created a new section, with 1 row/1 column and placed an image element with image that took up the entire section.
- I added a 2nd row with 1 column and added a DIV element (also tried this with a Raw Content element) and pasted all the code between and and then went to the Customize screen for the row and placed in the CSS selector of shapedividers_com-6029 and saved the page.
I’m not doing something correctly as the page did NOT render with the waves over the photo as expected.