How to Fix Font Weight Issues in Divi After Pasting Text
Paste a paragraph into a Divi Text module and the font weight can come out wrong: too light, too bold, or uneven across a single sentence, even though the module’s design settings are set correctly. It is one of the most common and most confusing Divi quirks, because the setting that should fix it appears to do nothing.
The cause is hidden inline styling that travels with pasted text, and the fix is quick once you know where to look. Here is why it happens and how to clear it properly. If you are new to editing in Divi, read our guide to updating a Divi site with the Visual Builder first.
Why the Font Weight Looks Wrong
When you copy text from Word, Google Docs, another website, or even another section of the same build, that text usually carries hidden HTML styling with it. Divi keeps that styling when you paste.
It shows up in the module as inline <span> tags with a style="font-weight: 300;" attribute (or 400, 600, and so on) wrapped around your words.
The important part to understand: inline styles always win. An inline font weight sitting directly on the text overrides whatever weight you set in the module’s Design tab, so changing the module setting looks like it has no effect. The inline style has to be removed before the setting can take over.
Before You Start
- You need edit access to the page in the Divi Builder, either the front-end visual builder or the back-end builder.
- Know which module has the problem. This is fixed one Text module at a time.
- It helps to note the correct font weight from the module’s Design tab first, so you can confirm the fix worked.
Step 1: Confirm the Problem
Open the page and look at the module where the weight looks off. Check the module’s Design tab: if the font weight setting is correct but the text on the page does not match it, that mismatch is the tell-tale sign of inline styling overriding the setting.
Step 2: Open the Module and Switch to the Text Tab
Open the Text module settings so you can see the body content editor. Above the editor, on the right, there are two tabs: Visual and Text. Visual shows the formatted text; Text shows the raw HTML. Click Text to reveal the underlying markup.
Step 3: Find the Inline Styling
In the Text tab, look for <span> tags that contain a style attribute. They look like this:
<span style="font-weight: 300;">Your paragraph text here</span>
The style="font-weight: 300;" is the hidden styling causing the problem. There may be several of these spans through a single paragraph, sometimes with different weights (300, 400, 600).
Step 4: Remove the Inline Styling
Delete the styling so only clean text and normal HTML tags remain.
- Remove the opening span tags entirely, for example delete
<span style="font-weight: 300;">. - Remove the matching closing
</span>tags. - Do not delete the actual words. Keep genuine structural tags such as paragraph tags
<p></p>(add them if they are missing, one at the start and end of each paragraph) and any list tags. You are only removing the span wrappers and their style attributes.
Tip: work through the whole block and make sure every <span style="..."> and its closing </span> is gone. One leftover span can still hold the wrong weight on part of the paragraph.
Step 5: Save and Confirm
Switch back to the Visual tab. The text should now display at the weight set in the module. Save the module, then save the page using the green tick at the bottom of the builder. View the live page and confirm the font weight now matches the module’s Design tab setting.
Troubleshooting
- Weight still wrong after removing spans: check for a leftover span further along the paragraph, and clear the page cache before viewing the live page.
- Only part of the paragraph is affected: that section still has its own span wrapper. Remove that one too.
- Other odd styling appears (colours, sizes): the same inline-style problem applies to
colorandfont-size. Remove those style attributes the same way.
The Takeaway
Whenever pasted text refuses to respond to your Divi design settings, suspect inline styling first. Clearing those hidden span tags hands control back to the module, and it keeps your build clean and consistent. If you would rather hand the fiddly parts to someone else, our website hosting and maintenance team builds and looks after fast, tidy WordPress and Divi sites every day.
Our Services
SEO Services
Comprehensive, technical, and tailored SEO to grow your organic visibility.
AI SEO & GEO
Get your brand cited in AI Overviews, ChatGPT, and Perplexity.
Local SEO
Dominate your local market with GBP optimisation and local authority.
eCommerce SEO
Collection architecture, product SEO, and conversion-focused strategy.
Google Ads
Targeted campaigns built on data. Your budget put to work.
Web Design
Sites designed to convert, built to scale, and ready to grow with you.

