Do you know how to indent paragraphs in WordPress in Classic and Gutenberg editor? The classic editor makes it very easy to indent text and paragraphs, but the Gutenberg editor does not have this option in WordPress.
So, I will discuss numerous methods to indent in WordPress that you can implement on Gutenberg also. Let’s start this article on what it means to indent paragraphs and how to indent paragraphs in WordPress.
Indenting the texts and paragraphs means adding a space between a margin and the beginning of a line. You can indent texts on the left margin as well as the right margin, as shown in the above screenshot (right indent). The common indentions are left, right, first-line indent, and hanging indentions.
It is not obligatory to indent paragraphs; it is just done to improve the appearance of an article or paragraphs. It has a pleasing appearance and is often done on purpose to accentuate a particular line or, more frequently, the opening line of a paragraph.
Indent texts and paragraphs are not extensively used by digital media content but are highly used by print media like books, novels, magazines, etc. However, you can also justify text in WordPress to improve appearance.
By default, all the paragraphs of WordPress are left-justified format. However, you can easily intend paragraphs in WordPress left and right with a few clicks. There are several ways to intend texts or posts, including a visual editor, text editor, a piece of HTML code, and intend the first line of a paragraph.
The easiest method to indent WordPress paragraphs is using the default visual editor, which does not require any coding and multiple clicks. This method is only available in the classic editor.
This is an advanced method as compared to the visual editor, which saves you from multiple clicks. With a text editor, you can indent an entire paragraph instead of lines. You don’t have to make multiple keystrokes to indent a paragraph to a specified limit; instead, you simply insert a bit of HTML code.
<p style=”padding-left:25px;”>Your Paragraph </p>
Unfortunately, Gutenberg hasn’t indent texts option as Classic editor has. However, you can still indent texts and paragraphs in Gutenberg by following the below steps. You have two methods to indent paragraphs in Gutenberg; using classic block and inserting HTML code.
This method is somewhat similar to the classic editor, where you have to paste an HTML snippet code to the HTML editor.
<p style=”padding-left:25px;”>Your Paragraph </p>
Till now, all the methods of how to indent paragraphs in WordPress added spacing in the entire paragraph. But you can also indent the first line only, which looks visually appealing, and it is largely followed by digital magazines. Also, learn how to highlight words on a web page.
To indent a single line only, you have to add a CSS code in Custom CSS or Additional CSS.
p.custom-indent { text-indent:40px; }
It is all about how to indent paragraphs in WordPress in Classic editor and Gutenberg editor easily. We learned various methods to indent, including WordPress’s default method in Classic editor.
In classic editor, indenting a paragraph is quite easy as the toolbar itself has this option. While Gutenberg didn’t have such a feature, but we learned two methods to indent paragraphs in Gutenberg editor also.
I hope you liked this article and got helped to make beautiful paragraphs. However, if you encounter any issues while implementing the above methods, let me know through comments.
It is pretty annoying when you scroll down Reddit and see 'delete posts' or 'deleted…
Do you know how to take a screenshot on Mac? Screenshot helps you save a…
Are you looking for how to upload pdfs to WordPress? Then stay connected with this…
Are you looking for how to hide internet activity from a router? Then you have…
Everyone uses the Internet though no one owns the Internet as we discussed in this…
Do you want to learn what is a static page in WordPress? If you just…