Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #334265

    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’

    #334852

    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

    #339662

    Hi Ismael,
    Sorry for the delay.
    This tips work’s well :)

    Many thank’s.

    Stef’.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Video background overlay’ is closed to new replies.