Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared hosting Managed WordPress Cloud hosting VPS hosting By reader location Hosting finder
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Blog Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Troubleshooting

WordPress Paragraph Spacing Not Working: Causes and How to Fix It

WordPress Paragraph Spacing Not Working: Causes and How to Fix It

Short answer

Spacing usually breaks because lines were added with Shift+Enter instead of Enter, the theme's CSS sets paragraph margins, block spacing in Styles is set too low, or a cache is serving old CSS. Use real paragraphs, adjust Block spacing or a CSS margin rule, and clear every cache.

Key takeaways

  • Shift+Enter makes line breaks with no gap; Enter makes a new paragraph.
  • Paragraph gaps come from CSS margins or the block theme's block spacing.
  • Inspect the live page to see which theme rule controls the margin.
  • Line height and paragraph margin are different settings.
  • Clear plugin, server, CDN and browser caches after any change.

Why is paragraph spacing not working in WordPress?

Paragraph spacing usually fails because your theme's CSS overrides the editor setting, you used line breaks instead of new paragraphs, a block spacing value is set to zero, or a cache is serving old styles.

Spacing problems show up in two ways. Either the gap between paragraphs is too big, too small or missing, or the gap looks right in the editor but wrong on the live page.

Start by naming which one you have. Then work through the causes below in order, since the first two fix most cases.

SymptomMost likely causeQuick fix
No gap between lines you typedShift+Enter line breaksPress Enter to make real paragraphs
Gap fine in editor, wrong on siteTheme CSS or cacheCheck theme styles, clear cache
Gaps too large everywhereTheme margin or block gapLower block spacing in Styles
Extra space in one spotEmpty paragraph or spacerDelete the empty block
Spacing control has no effectTheme does not support itUse custom CSS

Are you creating paragraphs or line breaks?

Pressing Enter creates a new Paragraph block with normal spacing, while Shift+Enter inserts a line break inside the same paragraph with no gap, which is a very common cause of missing spacing.

Click into the text and look at the block toolbar. If several lines highlight as one block, they are line breaks inside a single paragraph.

To fix it, put your cursor at the end of a line, delete the line break, and press Enter instead. Each paragraph should be its own block.

Text pasted from Word, Google Docs or email often arrives full of line breaks. Pasting as plain text, with Ctrl+Shift+V on Windows or Cmd+Shift+V on Mac, gives cleaner results. The Paragraph block documentation explains the block's basic behavior.

Is your theme overriding the spacing?

Yes, often: themes set paragraph margins and line height in their stylesheets, and those rules decide the spacing on the live site regardless of what you expect in the editor.

Paragraph spacing comes from CSS margins, not from WordPress itself. A theme might set every paragraph to a bottom margin of 1.5em, or to zero.

To check, open the live page, right-click a paragraph and choose Inspect. In the Styles panel, look for the margin rule on the p element and see which file it comes from. Chrome's guide to CSS in DevTools walks through this panel.

Once you know the rule, you can override it with your own CSS. In Additional CSS, add something like:

.entry-content p,
.wp-block-post-content p {
  margin-top: 0;
  margin-bottom: 1.25em;
}

The MDN reference on margin explains how these values work.

How do you change block spacing in a block theme?

In a block theme, go to Appearance > Editor > Styles > Layout and adjust Block spacing, which controls the gap between blocks, including paragraphs, inside content areas.

Block themes use a setting called block gap. It adds space between neighboring blocks rather than adding margins to each paragraph.

If block spacing is set to zero, paragraphs sit right on top of each other. If it is large, every gap looks too wide.

Steps:

  1. Go to Appearance > Editor.
  2. Open Styles and choose Layout.
  3. Change Block spacing to a value such as 1.2rem.
  4. Save and view a post.

Some groups, columns and Post Content blocks have their own block spacing under the Dimensions panel. If one section looks different, select that container block and check its settings.

Theme developers set this in theme.json under the spacing.blockGap style. The global settings and styles documentation describes the option, and our guide on using theme.json covers editing it.

Why does spacing look right in the editor but wrong on the site?

The editor and the front end can load different CSS, so a theme that styles the editor differently, or a plugin that adds front-end CSS, makes the two views disagree.

Classic themes in particular often ship an editor stylesheet that only approximates the front end. Block themes are usually closer because both views use the same theme.json styles.

Things to check:

  • Theme editor styles. Some themes skip editor styles entirely.
  • Page builder or plugin CSS that only loads on the front end.
  • A CSS optimization plugin that combines or removes styles.
  • Child theme CSS that is not loading. See child theme style.css not working.

Always judge spacing on the live page, since that is what visitors see.

Could caching be hiding your fix?

Yes, a caching plugin, server cache, CDN or your browser can keep serving the old stylesheet, so a correct CSS change seems to do nothing.

After changing spacing settings or CSS, clear every layer:

  1. Your caching plugin's cache.
  2. Your host's server cache, if it has one.
  3. Your CDN, such as Cloudflare.
  4. Your browser, or test in a private window.

If you minify or combine CSS, regenerate those files too. Our guide on clearing cache in WordPress covers each step.

If changes still do not show, see CSS changes not showing for deeper checks.

Are empty blocks adding extra space?

Empty Paragraph blocks, Spacer blocks and stray line breaks add unwanted gaps, so remove them rather than fighting the spacing with CSS.

Writers often press Enter twice to add space. In the block editor, that creates an empty paragraph, which may show as a large gap on the front end.

Open the List View from the editor toolbar to see every block. Empty paragraphs are easy to spot there. Delete them, and use the block spacing setting or a Spacer block deliberately instead.

Also check for   characters in pasted content. Switch the block to Edit as HTML to see them.

Is line height the real problem?

Sometimes: line height controls the space between lines inside a paragraph, while margins control the gap between paragraphs, and changing the wrong one will not give the look you want.

If lines within a paragraph feel cramped, raise the line height. In a block theme, go to Styles > Typography > Text and adjust Line height. Values between 1.5 and 1.8 read well for body text.

In custom CSS, use the line-height property:

.entry-content p {
  line-height: 1.7;
}

Font size affects both. If you change the size, recheck spacing afterwards. Our guide on increasing font size in WordPress covers the size settings.

What if you use the classic editor or a page builder?

In the classic editor, WordPress wraps text in paragraph tags automatically, and in page builders spacing is set per widget, so look at those settings before writing CSS.

In the classic editor, switching between the Visual and Text tabs can strip or add tags. Keep one blank line between paragraphs in the Text tab so WordPress creates proper paragraph tags.

In Elementor and similar builders, open the text widget's style or advanced settings. Paragraph spacing is often a separate control, and builder settings usually override the theme.

What is a quick checklist to fix paragraph spacing?

Check for line breaks, inspect the theme's margins, set block spacing, remove empty blocks, adjust line height, and clear every cache layer.

Work through it in this order:

  1. Replace Shift+Enter line breaks with real paragraphs.
  2. Inspect the paragraph's margin on the live page.
  3. Set Block spacing in Styles for block themes.
  4. Remove empty paragraphs and stray spacers.
  5. Adjust line height separately from paragraph gaps.
  6. Add a scoped CSS rule if the theme gives no control.
  7. Clear plugin, server, CDN and browser caches.

If your text alignment also needs work, our guide on justifying paragraphs in WordPress covers that next.

Frequently asked questions

How do I remove space between paragraphs in WordPress?

Set Block spacing to a small value in Styles, Layout for block themes, or add CSS that sets the paragraph bottom margin to zero. If you only want lines close together in one spot, use Shift+Enter to add line breaks inside a single paragraph instead.

How do I add more space between paragraphs?

Increase Block spacing in the Site Editor Styles, or add a CSS rule that sets a larger bottom margin on paragraphs in your content area. Avoid pressing Enter twice, because empty paragraphs create inconsistent gaps and clutter the editor.

Why does my spacing change after a theme update?

Theme updates can change default margins, block gap values or typography settings. If you set spacing with Additional CSS or the Site Editor, your choices usually survive. Changes made directly in the theme's files are lost, which is why a child theme is safer.

Why do my bullet lists have different spacing from paragraphs?

Lists use their own margin and padding rules in the theme's CSS. Inspect the list on the live page to see the rule, then add a CSS rule for list items in your content area to match the paragraph spacing you want.

Can a plugin control paragraph spacing?

Some block collections and typography plugins add spacing controls, and page builders include them by default. For most sites, though, the built-in Styles settings or a short CSS rule are lighter than adding another plugin just for spacing.

Sources

  1. Paragraph block WordPress.org
  2. Global Settings & Styles (theme.json) WordPress Developer Resources
  3. margin MDN Web Docs
  4. line-height MDN Web Docs
  5. View and change CSS Chrome for Developers

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

Written and checked byWPLegible Editorial Team Independent WordPress reviews and guides

Researched from the primary sources listed above and checked against our editorial rules before publishing.