1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
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

Solved Fullscreen Vimeo background in Divi?

Discussion in 'Free Divi Community Forum' started by Tim Yal, May 28, 2023.

  1. Tim Yal

    Tim Yal New Member

    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Modern & powerful Agency Divi layout pack, featuring team carousel, sliding menu, etc.View Demo
  2. Tim Yal

    Tim Yal New Member

  3. Divi.Help

    Divi.Help Administrator
    Staff Member

    Why not just go to the Section Settings > Background & set video for the background? Then set the section min-height to be 100vh.
     
    1. PRO MEMBER PERKS Divi.Help Layout AI Generator - Try the power of AI to generate a custom Divi layout for you:Try Now
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

    My bad. External video doesn't work with the Section background settings. As you mentioned:
    1. Place the video iframe code in a code module.
    2. Go to the Row Settings & set padding 0 & set width and max-width to be 100%
    3. And go to the Section Settings & set padding 0 as well.
    4. By doing so, your code module with the video iframe should appear fullwidth.
    5. But it may not be fullscreen. To fix that, you may try to go to the code module settings & set the height to be 100vh.

    If still not working, kindly share your URL & see if I can help further on that.
     
  5. Tim Yal

    Tim Yal New Member

    Thank you for your reply.

    I did exactly as you wrote, but this is (attached screenshot) how it looks now;

    There is a white space below the video and I believe iframe does not stretch/cover itself to the div itself.

    Here is the link;

    https://crea.design/kaya/test/

    Any other suggestions?

    Regards,
    Tim
     

    Attached Files:

    1. PRO MEMBER PERKS Divi Block Pro - Premade team carousel design for your Divi site without using any plugins:View Demo
  6. Divi.Help

    Divi.Help Administrator
    Staff Member

    Upon checking, it's not possible to achieve what you want, as the iframe itself is setting it's own height, which is not editable through CSS or JS.
     
  7. Tim Yal

    Tim Yal New Member

    1. PRO MEMBER PERKS Divi Ultimate Archive Plugin - Beautify your Divi archive / category page with 15 different premade blog designs:Learn More
  8. Divi.Help

    Divi.Help Administrator
    Staff Member

    Only 1 of the sites is similar to your case & it uses some CSS hack to display it. You may try the below to replicate & see if it works:

    1. First, try to go to the code module settings & remove the height 100vh.
    2. Then add the below CSS in Divi > Theme Options > Custom CSS:
    Code:
    Log In or Sign Up to view this code.
     
  9. Tim Yal

    Tim Yal New Member

    Wow, it "almost" worked.

    It seems the background appears when the 16:9 ratio somehow breaks. See the red frame? That is the background color of the section.

    Maybe playing with these two might help?

    height: 52.73vw;
    min-width: 189.63vh;

    Also, the other examples do not overflow the section, when the screen is wide, the bottom part overflows and appears during the scroll down.
     

    Attached Files:

    1. PRO MEMBER PERKS Divi.Help Header AI Generator - Try the power of AI to generate a custom Divi header for you:Try Now
  10. Divi.Help

    Divi.Help Administrator
    Staff Member

    Perhaps try the below & see if it works:
    Code:
    Log In or Sign Up to view this code.
     
  11. Tim Yal

    Tim Yal New Member

    Thank you for your reply.

    Still, there is a red background on the left of the widescreens. Would increasing those numbers would cause a problem?

    https://crea.design/kaya/test
     
    1. PRO MEMBER PERKS Divi Ultimate Header Plugin - Custom Divi Builder header on desktop + default slide in / fullscreen menu on mobile:Learn More
  12. Divi.Help

    Divi.Help Administrator
    Staff Member

    You can try to increase the value of height: 56vw; to fit your need. Perhaps 60vw. Or even bigger to fit your need.

    Increasing the height won't affect much, as it's also being restricted by the width 100vw.

     
  13. Tim Yal

    Tim Yal New Member

    1. PRO MEMBER PERKS Custom Color Scheme + Premade Layouts - A perfect combination to boost productivity:Try Now