Online Marketing Sales & Support: 608-790-4000

Divi | Add Overlay Color to Parallax Background Image On Standard Section

Want to add a color overlay to your parallax image using CSS?

  1. Give the section with the background parallax image a class of pbgoverlay
  2. Add this code to your CSS file or Theme Options CSS section:

.pbgoverlay .et_parallax_bg::before { background-color: rgba(255, 255, 255, 0.1); content: ""; height: 100%; left: 0; position: absolute; top: 0; width: 100%; }

Credit: Got this code from the Elegant Themes Support Forum