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

Solved Add a transparent image overlay to a background video

Discussion in 'Free Divi Community Forum' started by nbietti, Feb 25, 2020.

  1. nbietti

    nbietti Member

    Hi there,
    I need to darken my cover video a little: https://www.latinproject.es/
    I try to add a transparent image overlay to a background video but it is not working.

    I have uploaded an image and I have use it with class css with the following code:

    .ds-video-image-overlay1.et_pb_fullwidth_header:before {
    content: url(https://www.latinproject.es/wp-content/uploads/2020/02/negro_1920.jpg);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    }

    What am I doing wrong? Why don't I see the opacity? Any other solution to make my video look darker and highlight the title?

    Thanks!
     
    1. PRO MEMBER PERKS Divi Block Pro - Easy-to-use drag & drop interface to mix & match 456+ premade Divi blocks & export as json file:Learn More