[Resolved] Video BackGround Section

Home Forums Support [Resolved] Video BackGround Section

Home Forums Support Video BackGround Section

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #212500
    Sandro

    Hi tom, I tried to place a video background in the section but I do not really work very well any idea, I found this code https://jsfiddle.net/seadonk/8jmze5yq/2/ but to submit to generatepress not work

    thks,

    Sandro.

    #212534
    Tom
    Lead Developer
    Lead Developer

    Hmm, well that CSS won’t work with Sections – you would want to do this instead:

    .generate-sections-container {
        position: relative;
    }
    
    #videobcg {
        position: absolute;
        top: 0;
        left: 0;
        min-width: 100%;
        min-height: 100%;
        height:auto;
        width:auto;
        z-index: -100;
    }

    Then just add the video part into the “Text” tab in the Section.

    Not 100% sure it will work this way, but worth a shot.

    #240732
    Katie Jones

    Hey Tom, this code helped me, thanks!

    #240819
    Tom
    Lead Developer
    Lead Developer

    Awesome! 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.