Tagged: CSS
Hi,
I know that Enfold has the ability to create angled dividers between elements and sections, but can anyone suggest a way to get a wavey edge either along the top or bottom of an element using CSS in Enfold.
https://screencast.com/t/COyg1nwvduI
With thanks
Phil
Hey Phil,
This can actually be done by preparing an image like that and using it in a color section or a slider.
Best regards,
Victoria
Hi,
So I’ve got this working using this CSS
#waves {
margin-top: -78px;
z-index: 12 !important;
position: relative;
}
using a color section with a background image.
It works OK if the viewport is 1600 or more, but breaks under that – space starts showing beneath the div
Regards
Phik
Hi,
Thanks for the update. Set the background position to bottom and then adjust the css code.
#waves {
margin-top: -100px;
z-index: 10000 !important;
position: relative;
height: 80px !important;
}
The color section has a minimum height of 100px.
Best regards,
Ismael
Hi philthebass,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria