Add an Overlay to Video Background (Divi Tutorial)

Written By George Leon

July 30, 2021

When you use an image or video for a background in Divi, you may have noticed there is no option to add an overlay or gradient. This makes it difficult to place text over the video since you’ll probably need to darken the video for your text to be visible.

Fortunately, there’s an easy trick to get around this.

Go to the section or row’s settings. Then go to the Advanced tab. Under the Custom CSS area, add the following code to the Before area:

content:"";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1;

You can adjust how dark you want the overlay to be by changing the last value in the background-color line.

Free Website Audit

We’ll record and send you a video reviewing your website

Related Articles

Post Construction Cleaning Leads

Post Construction Cleaning Leads

Generating Post Construction Cleaning Leads For Your Business Your goal with generating post-construction cleaning leads shouldn’t be to actually generate leads with your actions but to rather put your services in front of every contractor in your area. So, this...

read more
How to Get Commercial Cleaning Leads (4 Best Methods)

How to Get Commercial Cleaning Leads (4 Best Methods)

Do you have a new janitorial/commercial cleaning business that now just needs leads? Maybe you’ve been in business for a while but need more work to stay in business? Whatever your situation may be, this article is going to show you how you can put your expertise and...

read more
Facebook Ads for Cleaning Businesses (Complete Guide)

Facebook Ads for Cleaning Businesses (Complete Guide)

If you’re looking to pick up some more leads for your cleaning business, then Facebook ads for cleaning businesses can be a fantastic strategy. Unfortunately, the majority of cleaning businesses make a complete mess of advertising on Facebook only enriching Mark...

read more
How to Connect Mailgun to Your WordPress Website

How to Connect Mailgun to Your WordPress Website

In order for your WordPress website to reliably send emails (such as contact form notifications, user registrations, etc) you need to configure WordPress to use an SMTP provider. In this article, we'll show you how to set up Mailgun SMTP. Step 1: Create a Mailgun...

read more
Writing a Business Plan for Your HVAC Company

Writing a Business Plan for Your HVAC Company

Starting an HVAC company may seem easy on paper, but there are quite a few steps you need to take before you can welcome your first customer. One of the first things you need to do as a business owner is to create an HVAC business plan. It may not be as flashy as...

read more
How to Write a Business Plan for a Painting Business

How to Write a Business Plan for a Painting Business

Creating a Painting Business Plan When starting your own painting company, you need to take the time to create a written painting business plan. While it won’t be the most exciting part of being an entrepreneur, it is vital to the success of your venture. But if this...

read more
Facebook Ads for Painters (Complete Guide)

Facebook Ads for Painters (Complete Guide)

There’s no magic method to bringing in new painting leads. Driving business and company growth takes time and hard work — but engaging in strategic marketing efforts can help you tackle your growth goals a bit quicker. To expand your reach in the local community, you...

read more
How to Start Your New Electrical Business (Plus Costs)

How to Start Your New Electrical Business (Plus Costs)

Whether you’ve spent the past few years as an electrician and you’re looking to branch out on your own or you’re making the transition into the electrical industry, you might be considering starting your own electrical business. While running your own company can be...

read more
HVAC Business Owner Salary & HVAC Profit Margins

HVAC Business Owner Salary & HVAC Profit Margins

If you’re interested in working in the heating, air conditioning, and ventilation industry, you’ve come to the right place. The need for trades jobs is at an all-time high, which means it’s the ideal time to take on a role as an HVAC contractor. But you’re probably...

read more
One Man HVAC Business (Is it Worth It?)

One Man HVAC Business (Is it Worth It?)

You’ve decided to start an HVAC business — that’s exciting news! With your neverending list of to-dos before you can get your business off the ground, you’re probably wondering if you’ll be able to run a successful HVAC company on your own. Deciding between being a...

read more
HVAC Marketing (How to Get HVAC Leads)

HVAC Marketing (How to Get HVAC Leads)

Want to get HVAC leads flowing into your HVAC business like coolant fluid on a hot summer day? The HVAC industry is growing rapidly, and each day, more and more HVAC companies are competing for the attention and business of potential clients in their area. How can...

read more
Grow Your Painting Business: How to Get More Leads

Grow Your Painting Business: How to Get More Leads

The best marketing strategies are different for every type of business. Learn marketing for painters to grow your painting business effectively. Whether your painting company is just starting out or ramping up to hit huge growth goals, you need a strategic marketing...

read more
How to Subcontract Painting Jobs

How to Subcontract Painting Jobs

When first starting your painting company, you might opt to run it as a one-man painting company. But as business begins picking up, you’ll have a decision to make. Do you want to grow your team by hiring employees or subcontractors? There are pros and cons to both...

read more
How to Write a Letter to Advertise Your Painting Service

How to Write a Letter to Advertise Your Painting Service

To generate painting leads, you’ve probably spent time crafting content for your painting website, posting on social media, or running paid advertising campaigns. But if you’re looking for another way to reach your target audience, consider writing a letter to...

read more
Get Painting Leads for Free (4 Fast Methods)

Get Painting Leads for Free (4 Fast Methods)

In this post, we’re going to explore how to get free painting leads and advertise your business for free by using Facebook Groups, Instagram, and Nextdoor. 1. How to Get Free Painting Leads with Facebook Groups You can get thousands of views on your company’s Facebook...

read more
Painting Warranty Templates

Painting Warranty Templates

Do you want to win more jobs by offering your customers a warranty on their paint job? Enter your email below so we can send your free painting warranty template: Step 1: After you receive your free painting warranty template in your email, open...

read more
How to Get Customers for Your Painting Business

How to Get Customers for Your Painting Business

Want to attract more customers to your painting business? Here are some tips on how to make your marketing more effective and how to get customers for a painting business. Whether you’ve just started your painting business or have been in the industry for some...

read more
How Much Does a Painting Contractor Make a Year?

How Much Does a Painting Contractor Make a Year?

A local residential painting contractor can make over $250,000.00 a year in net profit if they serve a typical metro area of two million residents or more. If you’re wondering what's the average painting business owner salary you’re probably considering starting your...

read more
Is Starting a Painting Business a Good Idea in 2021?

Is Starting a Painting Business a Good Idea in 2021?

The painting industry has changed a lot in 2021. From virtual estimates to higher project prices to labor availability, starting a painting business in 2021 presents new challenges and opportunities to be aware of. Unlike other industries, the painting business is...

read more