In this video tutorial my favorite method. In the article you will find other alternative solutions.
In this article, we’ll show you how to justify text in WordPress, even if your version doesn’t show the classic “align justify” button anymore. Whether you’re using Gutenberg or the Classic Editor, there’s a solution—manual HTML, custom CSS, or plugins. We’ll also show how to combine it with underline and justify commands and use keyboard shortcuts like Ctrl+U or Command+U.
Since WordPress version 4.7, the justify button was removed from the toolbar. The reason? Poor readability on mobile devices. But many users still want to justify text in WordPress for visual consistency on their website.
The block editor doesn’t include justify as a built-in option. But you can do it manually:
style="text-align: justify;"
inside the <p>
tagExample:
<p style="text-align: justify;">This paragraph will be justified in WordPress.</p>
Simple, and effective.
If you’re using the Classic Editor, the easiest way is to re-add the justify button.
Once active:
This works well for users preferring the old editor interface.
Unfortunately, there’s no built-in keyboard shortcut to justify text in WordPress. But you can underline it with:
For justified and underlined text, you can use HTML like:
<p style="text-align: justify;"><u>Your text here</u></p>
Want more control? Try:
You can apply justification globally with a custom CSS rule:
.entry-content p {
text-align: justify;
}
Go to Appearance > Customize > Additional CSS and paste it in. Now, all paragraphs on your site will be justified by default.
Dopstart offers a consultation to help you install plugins, customize your text formatting, or manage the technical side of your WordPress site. Let’s fix it for you.
1. How to justify text in Gutenberg?
Use the HTML view and add style="text-align: justify;"
in the paragraph tag.
2. Why can’t I see the justify button?
It was removed in version 4.7. You need a plugin to restore it.
3. How to justify text in the Classic Editor?
Install the plugin “Re-add Text Justify Button” and enable it.
4. Is there a shortcut to justify text?
No, but you can use Ctrl+U / Command+U to underline it.
5. Can I justify all text automatically?
Yes, add a custom CSS rule to your site to apply it globally.
6. How do I justify and underline text at the same time?
Use HTML: <p style="text-align: justify;"><u>Text</u></p>
7. What’s the best plugin to restore justify?
Advanced Editor Tools (TinyMCE) or Re-add Justify Button.
8. Do keyboard shortcuts work on mobile?
No, only on physical keyboards.
9. Can I bring back other missing buttons too?
Yes, with Advanced Editor Tools you can customize your toolbar.
10. Will WordPress remove more features in the future?
It’s possible. That’s why having expert help like Dopstart matters.
We will send you periodical important communications and news about the digital world. You can unsubscribe at any time by clicking the appropriate link at the bottom of the newsletter.
The ChatGPT Agent Mode is one of the most exciting innovations introduced by OpenAI. It’s not just…
With AI Max, artificial intelligence personalizes Google Search ads by focusing on user intent rather…
The other day, my eight-year-old son looked at me seriously and said, “When I grow…
Google tests a new experiment that reorganizes search results with AI to help you find…
Between broken promises, manipulative ads and increasingly disillusioned consumers: is ethics in marketing still possible, or just…
How digital marketing is changing with artificial intelligence: insights from Google’s GTM team on Search,…