Want to change the vertical alignment of your Divi blurb title to be better centred with a left icon?

Here’s the CSS snippet to make it happen:


/* Align blurb title with icon */
  /*Change 8px value to work with your heading size */

.et_pb_blurb h4 {
  padding-top: 8px !important;
  }

 

OR add a custom class to the module, and use with the code below.


/* Align blurb title with icon using custom class */
/* Change 8px value to work with your heading size */

.your_custom_class.et_pb_blurb h4 {
  padding-top: 8px !important;
}

 

Where to paste the CSS snippet

Copy and paste the above snippet into one of the following two places (depending on where the rest of your custom CSS code is residing):

1) Navigate to Divi>Theme Options and at the bottom of the default “General” tab, paste the CSS snippet into the “Custom CSS” box and save changes.

divi theme options

2) If you are using a child theme, navigate to Appearance>Editor and paste the CSS snippet into your child theme’s stylesheet.

navigate to wordpress theme editor

Child Themes

We recommend using a child theme. It is your insurance against losing your custom work in updates.

Click here for instructions on adding a basic Divi child theme with a stylesheet (for custom CSS).

Click here to learn more about child themes and getting the most out of the Divi theme.

 

Want more module options for your Divi website?

Check out our Custom Modules for Divi
Browse Custom Modules