I there,
In a color section, I added a video in the background. How then added an overlay on the video?
I found some tips on the forum, but nothing works
thank’s for your help.
Stef’
Hey melangeur!
Thank you for using Enfold.
Please edit the color section then look for the For Developers: Section ID field. Use “overlay-section” for example. Add this on Quick CSS or custom.css:
#overlay-section{
overflow: hidden;
}
#overlay-section> * {
z-index: 300;
}
#overlay-section:before {
content: '';
display: block;
background: red;
height: 1000px;
position: absolute;
z-index: 200;
width: 100%;
bottom: 0;
}
You can adjust the background to background-image and adjust the height depending on the content.
Best regards,
Ismael
Hi Ismael,
Sorry for the delay.
This tips work’s well :)
Many thank’s.
Stef’.