Transform your DIVI website's sections with a sophisticated, multi-layered background effect. This advanced CSS hack combines gradients, images, and overlays to add depth and intrigue to your layouts. Perfect for making key sections stand out, follow this guide to implement a unique background style.

.divi-custom-section {

    position: relative;

    background: linear-gradient(to right, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('your-image-url.jpg');

    background-size: cover;

    background-blend-mode: overlay;


.divi-custom-section::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0, 0, 0, 0.5); /* Dark overlay */

    z-index: 1;


.divi-custom-section .et_pb_row {

    position: relative;

    z-index: 2;


Breaking Down the Code:

.divi-custom-section: Applies a gradient overlay on top of a background image, setting the stage for a multi-layered effect.

.divi-custom-section::before: Creates a dark overlay using the ::before pseudo-element, enhancing text readability and adding depth.

.divi-custom-section .et_pb_row: Ensures content within the section appears above the overlays by adjusting the z-index.

Implementation Steps:

Accessing the DIVI Theme Options: From the WordPress dashboard, go to "Divi" > "Theme Options."

Accessing the Custom CSS Box: Find the "Custom CSS" box under the "General" tab.

Adding the Code: Copy and paste the CSS snippet into the "Custom CSS" box.

Save Changes: Click "Save Changes" to apply the multi-layered background effect to your sections.

Your DIVI sections will now display a captivating background with layered visual effects, adding sophistication and depth to your website's design. This complex hack is perfect for creating standout sections that capture your visitors' attention.