1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Anyway to make a parallax background video, begin after the full screen header?

Discussion in 'Free Divi Community Forum' started by TJ Marek, Mar 21, 2022.

  1. TJ Marek

    TJ Marek New Member

    I have a full screen header with a background video playing on a loop when the page loads up. Underneath that header section I have a second full width section with a background video on loop as well.
    I am wondering if there is anyway to make the second background video act as a parallax background video once we scroll to that part of the page. I would like for the video up top to still be visible and full screen and then scroll down to the second section with a video and have this video stick for the remainder of the page.
    I have add this css to get the second video to be in a fixed position...

    .et_pb_section_video_bg {
    position: fixed!important;
    }

    But when I use this code, it pushes the background video up to cover the whole screen, blocking out my header video. is there anyway I can get this video to stay fixed in its place underneath the header without it pushing its way up to the top of the page?

    I am working on putting together a new site with divi and I want to try something new. I have not seen an example of this in Divi so i'm not sure if or how it can be done. but if anyone has any ideas or code snippets they would be greatly appreciated.

    you can see the site I am working on here. https://www.fireoakmedia.com/
    the first section with the logo video I would like to still be displayed on load, and then scroll down to that second section and have that background video act as a parallax effect so it stays fixed for the remainder of the page.

    Thanks
     
    1. PRO MEMBER PERKS Divi Ultimate Archive Plugin - Tons of elegant premade sidebar styles to choose from for your Divi site:Learn More
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Just an idea, not sure if it will work or not.

    Right after the first section, add a new section for your second background video. And set the section to have a height of 100vh. Then set the section to be position absolute & sticky to top.
     
  3. TJ Marek

    TJ Marek New Member

    You think I should set the second section to absolute & stick it to the top? Or the top section??
     
    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Agency Divi layout pack featuring unique comment design on single blog post page:View Demo
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

    Since you mentioned that you want the second section background to stays fixed for the remainder of the page. Thus, you may try to create an empty section right below the first section, just for the video background & make it position absolute & sticky.