All Collections
FAQ's and Troubleshooting
Uploading Custom Divi Background Patterns and Masks
Uploading Custom Divi Background Patterns and Masks

Learn how to personalize your Divi website with your own background patterns and masks

Karen avatar
Written by Karen
Updated over a week ago

Divi provides a set of default background patterns and masks accessible in the module settings under Background group options.

If you want to apply your own Background Pattern or Background mask to your Divi modules you can do that by adding a small piece of CSS code.

Adding Background Pattern and Background Mask

  1. Uploading your custom pattern/mask to the WordPress library:

    • Go to the WP Dashboard / Media and upload the pattern/mask file

  2. Adding CSS Classes

    • Open the module settings that you want to apply the custom Pattern/Mask and navigate to the Advanced tab

    • Look for the Custom CSS field:

    • In case you want to apply a custom background pattern add divi-custom-bg-pattern CSS class

    • In case you want to apply a custom background mask add divi-custom-bg-mask CSS class

  3. Adding CSS code to apply the custom pattern/mask

    • Go to the Dashboard -> Divi -> Theme Options -> General Settings

    • Look for the Custom CSS field at the very bottom

    • In case you want to apply a custom pattern background add this CSS snippet:

      .divi-custom-bg-pattern .et_pb_background_pattern {
      background-image: url("CUSTOM_PATTERN_URL")!important;
      }

    • In case you want to apply a custom pattern background add this CSS snippet:

      .divi-custom-bg-mask .et_pb_background_pattern {
      background-image: url("CUSTOM_MASK_URL")!important;
      }

Make sure to replace the "Custom Pattern URL" or "Custom Mask URL" fields with your actual Mask or Pattern URL.

Did this answer your question?