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

Setup & site building · Guide

How to Indent Paragraph in WordPress (Step by Step)

How to Indent Paragraph in WordPress (Step by Step)

Short answer

The WordPress Paragraph block has no indent button. Add a CSS class such as indent-first under the block's Advanced settings, then give that class a text-indent rule in Additional CSS. For a whole-paragraph indent use padding-left, and in List blocks press Tab to indent items.

Key takeaways

  • The Paragraph block has no built-in indent button.
  • Use text-indent for a first-line indent and padding-left for a whole-paragraph indent.
  • Add a class in the block's Advanced panel, then style it with Additional CSS.
  • Tab and Shift+Tab indent and outdent items in the List block.
  • Avoid fake indents with spaces or the Quote block.

How do you indent a paragraph in WordPress?

The Paragraph block has no indent button, so add a CSS class to the paragraph and give it a text-indent or left padding rule, or use the block's padding setting if your theme supports it.

For lists, indenting is built in. Press Tab inside a List item to indent it, and Shift+Tab to move it back.

Which method you pick depends on whether you want a first-line indent, like a book, or the whole paragraph pushed in from the left. This guide covers both.

Which kind of indent do you need?

A first-line indent moves only the first line in, like printed books, while a block indent moves every line of the paragraph in from the left edge.

They use different CSS properties, so it helps to decide first.

Indent typeWhat it looks likeCSS property
First-line indentOnly the first line starts further intext-indent
Whole-paragraph indentEvery line starts further inpadding-left or margin-left
Hanging indentFirst line sticks out, others are indentedpadding-left with negative text-indent
List indentNested list itemsBuilt into the List block

On the web, most sites separate paragraphs with space rather than first-line indents. Indents still suit fiction, poetry, legal text and academic styles.

Using both space between paragraphs and first-line indents is usually overkill. Pick one signal for new paragraphs so the page looks calm and consistent.

Method 1: How do you indent one paragraph with a CSS class?

Select the paragraph, open Advanced in the block settings sidebar, type a class name such as indent-first in the Additional CSS class field, then add a matching CSS rule to your site.

Step by step:

  1. Click the paragraph you want to indent.
  2. Open the settings sidebar and expand Advanced.
  3. In Additional CSS class(es), type indent-first.
  4. Add the CSS below to your site.
.indent-first {
  text-indent: 2em;
}

Where to add the CSS:

  • Classic themes: Appearance > Customize > Additional CSS.
  • Block themes: Appearance > Editor > Styles, then Additional CSS from the Styles menu.

MDN's page on text-indent explains the units you can use. The em unit scales with the font size, so the indent stays in proportion.

You can reuse the class on as many paragraphs as you like. Type the same class name in each one, and every paragraph picks up the indent from the single CSS rule.

If you want to change the size later, edit the CSS once. Every paragraph with that class updates at the same time, which is the main advantage over manual spacing.

The indent does not show inside the editor on some themes, because editor styles load separately. Preview the page or view it on the front end to check the result.

Method 2: How do you indent a whole paragraph?

Use the same class approach with padding-left instead of text-indent, or set left padding in the block's Dimensions panel if your theme turns that option on.

The CSS version:

.indent-block {
  padding-left: 2em;
}

Many block themes let you set padding directly. Select the paragraph, open the Styles tab in the sidebar, and look for Dimensions. If you see Padding, set the left value.

If there is no Dimensions panel, your theme has not enabled spacing controls for paragraphs. The CSS class method works with any theme.

Theme developers turn these controls on in the theme.json file. If you build your own block theme, enabling spacing settings there gives editors padding controls without any custom CSS.

For more on spacing settings, see our guide on changing paragraph spacing in WordPress.

Method 3: How do you indent every paragraph on your site?

Add a CSS rule that targets paragraphs inside your post content area, so every paragraph gets a first-line indent without adding classes one by one.

For most themes, this works:

.entry-content p,
.wp-block-post-content p {
  text-indent: 2em;
}

Classic themes often use entry-content around post text. Block themes use wp-block-post-content. Including both covers most setups.

Not sure which class your theme uses? Right-click a paragraph on the front end, choose Inspect, and look at the elements wrapping it. The class on the main content container is the one to target.

You may want to skip the indent on the first paragraph after a heading, which is a common print convention:

.entry-content h2 + p,
.wp-block-post-content h2 + p {
  text-indent: 0;
}

If the rule does not take effect, clear your cache and check for theme CSS that overrides it. Our guide on fixing CSS changes that do not show covers caching and specificity.

Method 4: How do you indent list items?

Inside a List block, press Tab to indent the current item into a nested list, and press Shift+Tab to move it back out, or use the indent and outdent buttons in the block toolbar.

The List block's nesting is real structure, not just visual spacing. Screen readers announce nested items correctly, which makes this better than faking indents with spaces.

The List block documentation covers nesting, ordered lists and styles.

Can you indent with the Tab key or spaces?

Not in normal paragraphs. Pressing Tab moves focus to the next control instead of inserting a tab, and extra spaces collapse into one when the page displays.

Some people paste non-breaking spaces to fake an indent. It works, but it is fragile, looks wrong on mobile, and adds odd characters to your content.

CSS is the cleaner choice. It gives consistent results on every screen size and is easy to change later.

Can a Group or Quote block create an indent?

Yes. Wrapping paragraphs in a Group block with left padding indents them as a unit, and a Quote block indents text by default in most themes, but only use Quote for actual quotations.

The Group approach suits a block of text, such as a note or an aside, that should sit further in than the surrounding content.

Using the Quote block just for indentation confuses screen readers, which announce it as a quote. Our guide on how to quote in WordPress explains when that block is the right choice.

A Group block is also easy to reuse. Save it as a pattern once, and you can insert the same indented note style anywhere on the site without repeating the settings.

How do you indent in the classic editor?

The classic editor has Increase indent and Decrease indent buttons in its toolbar, shown in the second row after you click Toolbar Toggle, which add left padding to the selected paragraph.

If you do not see the second row, click the Toolbar Toggle button at the end of the first row. The indent buttons appear there.

These buttons add inline padding to the paragraph. That works, but it is harder to change site-wide later than a CSS class.

Each click adds a fixed amount of padding, so pressing it twice doubles the indent. Click Decrease indent to remove it again.

The Advanced Editor Tools plugin lets you rearrange the classic toolbar and keep indent buttons in the first row.

How do you indent in Elementor?

In Elementor's Text Editor widget, use the toolbar's indent buttons if shown, or set left padding under the widget's Advanced tab, or add a CSS class with a text-indent rule.

The Advanced tab's Padding control indents the whole widget. For a first-line indent, add a class in the CSS Classes field and use the text-indent rule from Method 1.

Elementor Pro also has a Custom CSS field per widget, which is handy for one-off styles.

Do indents affect readability and accessibility?

Moderate indents are fine, but avoid large left padding on mobile, keep enough space between paragraphs, and do not use indents in place of headings or lists to show structure.

Readers on phones have little horizontal space. A 4em indent that looks elegant on desktop can squeeze text on a small screen.

You can reduce the indent on small screens with a media query:

@media (max-width: 600px) {
  .indent-block { padding-left: 1em; }
}

The W3C guidance on text spacing explains why users must be able to adjust spacing without breaking content.

If you also want to align text differently, our guide on justifying paragraphs in WordPress covers alignment options and their drawbacks.

For block themes, the global settings and styles documentation explains how themes enable spacing controls such as padding.

Frequently asked questions

Why is there no indent button in the WordPress block editor?

The Paragraph block focuses on content and leaves layout to themes and CSS. Indents are styling, so WordPress expects you to add them with a CSS class, block padding where your theme allows it, or a site-wide CSS rule.

How do I indent the first line of every paragraph in WordPress?

Add a CSS rule that targets paragraphs in your content area, such as entry-content p and wp-block-post-content p, with text-indent set to around 2em. Add it in the Customizer's Additional CSS or the Site Editor's Additional CSS.

How do I indent a bullet point in WordPress?

Click into the list item and press Tab to nest it under the item above. Press Shift+Tab to move it back out. The List block toolbar also has indent and outdent buttons that do the same thing.

Can I indent text in WordPress without CSS?

Partly. If your theme enables spacing controls, set left padding in the block's Dimensions panel. A Group block with padding also works. In the classic editor, the indent buttons in the second toolbar row add padding without writing CSS.

Why is my paragraph indent not showing?

Your theme's CSS may override the rule, the class name may not match, or a cache is serving old styles. Check the class spelling, clear your cache, and make the selector more specific if the theme still wins.

Sources

  1. text-indent MDN Web Docs
  2. List block WordPress.org Documentation
  3. Global Settings and Styles WordPress Developer Resources
  4. Understanding Text Spacing W3C WAI
  5. Advanced Editor Tools WordPress.org Plugins

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.