Fix Divi Text Module "Regular" Font Weight Not Working

Written by Dan Mossop

Are you encountering an issue where the font weights in Divi's Text Module don't seem to apply as expected? In particular, you might find that when you set the text module's body text font weight to "Regular", your font is actually assigned a weight of 500 instead of the intended 400. This tutorial will show you how to correct it and get the text module "Regular" font weight to apply a font-weight setting of 400 to your text.

When setting the Text Module's font weight to "Regular," Divi doesn't actually set a font weight in the CSS. Instead, it inherits the font weight from the theme customizer, which in a standard Divi installation is "Medium," equating to a font weight of 500. This can be fixed by adjusting the customizer setting or using custom CSS.

Let's look at how to apply each fix.

Fix the Divi Text Module "Regular" Font Weight in the Customizer

One option to correct the text module font weight is to set the global font weight specified in the customizer to "Regular". Please note that as this is a global setting it may affect the font weight on other elements on your site, not just the text module. 

Open the Theme Customizer

Now, in your WordPress dashboard, look for the "Divi" option in the left-hand menu, then click on it. Under the Divi menu, you'll find "Theme Customizer” – select it to launch the customization options. This will bring up the Customizer interface, which contains a range of settings that can be applied globally to Divi.

Navigate to the Divi Theme Customizer Typography Settings

Now, in the Theme Customizer, click on "General Settings" in the left sidebar menu, and then click on "Typography" to open Divi's global typography settings.

Set the Body Font Weight to "Regular"

Scroll down a bit and you should find a typography setting called "Body Font Weight". This defines the default font weight in the Divi theme. Setting it to "Regular" will apply a font-weight of 400 to the body element in the page and this will be inherited by the text module when it itself is set to "Regular" font weight, making the text module font weight setting function as expected.

Be aware that this default value will apply everywhere on your site and may affect other elements on the site that do not have an explicit font-weight set. 

Publish the Theme Customizer Changes

Click the "Publish" button at the top of the Theme Customizer area. This will apply your changes to your site. 

Test it Out

Now, in your text module settings, go to the "Design" tab and under "Text" set the "Text Font Weight" to "Regular". When you view the text module on the front-end you should now find that its font weight is set to 400 – i.e. "Regular" – in the CSS.

Fix the Divi Text Module "Regular" Font Weight using CSS

Another effective solution is to set a default font weight of 400 for text modules using CSS. When the text font weight is set to "Regular" in the text module settings it will use this default font weight, effectively making the module setting behave as we might expect it to.

Open the Divi Theme Options

Divi's Theme Options include various settings for configuring Divi's overall behavior. To open the theme options, from your WordPress dashboard, click on "Divi" in the sidebar menu, then the "Theme Options" sub-menu item.

Navigate to the "Custom CSS" Setting

Now click on the "General" tab in the Divi Theme Options, which brings us to Divi's main site-wide settings. Scroll to the bottom and you should see a box called "Custom CSS" which allows you to add your own CSS code alongside that already added by Divi:

Navigate to the "Custom CSS" Setting

In the custom CSS box, add the following CSS code. It will set the default text module font-weight to 400.

/* Set the default font weight for text modules */
.et_pb_text { 
	font-weight: 400; 
}

Save the Divi Theme Options

To apply the changes, we need to save the Divi Theme Options. This can be done by clicking the "Save Changes" button at the top or bottom of the Divi Theme Options area:

Test it Out

Now, in your text module settings, go to the "Design" tab and under "Text" set the "Text Font Weight" to "Regular". When you view the text module on the front-end you should now find that its font weight is set to 400 – i.e. "Regular" – in the CSS.

Conclusion

Understanding and applying these tweaks can help you achieve the desired consistency in your site's text appearance. Ensuring that your font weights reflect your design intentions contributes significantly to maintaining a clean and professional aesthetic. If these solutions resolve your issue, you can continue building with confidence, truly mastering the typographic nuances of Divi.

Streamline Your Divi Workflow!

Copying images and content directly from your clipboard into Divi has never been easier. Say goodbye to the cumbersome save-and-upload routine and hello to streamlined efficiency.

About Dan Mossop

Dan is a Scottish-born web developer, now living in Brisbane with his wife and son. He has been sharing tips and helping users with Divi since 2014. He created Divi Booster, the first Divi plugin, and continues to develop it along with 20+ other Divi plugins. Dan has a PhD in Computer Science, a background in web security and likes a lot of stuff, 

0 Comments

Submit a Comment

Comments are manually moderated and approved at the time they are answered. A preview is shown while pending but may disappear if your are cookies cleared - don't worry though, the comment is still in the queue.

Your email address will not be published. Required fields are marked *.

We may earn a commission when you visit links on our website.

Latest From Divi Booster

How to Add the Post Status in Divi's Dynamic Content

Divi's Dynamic Content feature is great for enhancing your post/page templates with post-specific information. While Divi includes an option to show information such as the Post Created Date using Dynamic Content, there is no equivalent option for the Post Status....

Make the Divi Gallery Module Swipeable

The Divi Gallery Module comes with a slider mode that lets you display images in a slider with clickable left/right arrows to scroll through the images. For mobile / touchscreen users, you can improve the user experience by allowing your user to swipe to navigate to...

How to Use Divi Dynamic Content in Woo Modules Product Selector

Divi's Dynamic Content is a powerful feature that lets you populate your Divi modules and theme builder templates with data pulled in various sources, such as custom fields. This allows for efficient organization and maintenance of your sites.Unfortunately, Divi's...

Removing Gaps in Divi Builder Layouts

Designing a seamless, professional-looking website is often about managing space effectively. Gaps in Divi Builder - particularly excessive white space between sections, rows, or modules - can disrupt your layout, leading to a fragmented and less engaging user...

Random Divi Posts