Do you need to underline or justify text in WordPress?
WordPress used to have both justify and underline text buttons in the visual editor. However, they have been removed and are no longer available.
In this article, we’ll show you how to add underline and justify text buttons in WordPress.
Why Add Underline and Justify Text Buttons in WordPress?
Would you like to restore the missing underline and justify buttons when editing posts and pages on your WordPress website? These buttons were removed from the post editor in WordPress 4.7, but luckily there’s a way to bring them back.
However, there are a few reasons you should consider not underlining and justifying text on your website.
First, underlined text can look like links, and your users may become frustrated when what they think is a link doesn’t work. Also, justified text can make your content harder to read, especially on small screens.
With that being said, let’s take a look at how to add underline and justify text buttons in WordPress. We’ll show you how to do this for the block and classic editor. We’ll also show you how to underline and justify text using keyboard shortcuts, without the need for a button.
- Underlining and Justifying Text Using Keyboard Shortcuts
- Adding Underline and Justify Text Buttons to the Block Editor
- Adding Underline and Justify Text Buttons to the Classic Editor
Underlining and Justifying Text Using Keyboard Shortcuts
You don’t need a plugin or toolbar icons to underline or justify text in WordPress. Instead, you can simply use a keyboard shortcut.
To underline text, just select the text you want to underline in WordPress and press Ctrl+U on Windows or Command+U on Mac. That’s it. This keyboard shortcut will work with both the block and classic editor.
There’s another keyboard shortcut for justifying text. Simply select the text and press Shift+Alt+J in Windows or Command+Option+J on Mac and your text will be justified.
However, the keyboard combination for justifying text will only work with the classic editor. If you use the block editor, then you will not be able to justify text with a keyboard shortcut and should use the plugin method below.
Adding Underline and Justify Text Buttons to the Block Editor
First, you’ll need to install and activate the Gutenberg Block Editor Toolkit – EditorsKit plugin. For more details, see our step by step guide on how to install a WordPress plugin.
Upon activation, the plugin will make underline, justify, and other formatting features available when using the WordPress block editor.
These additional icons can’t be added directly to the block editor’s toolbar, but you will find the extra options when clicking the ‘Displays more block tools’ down arrow on the toolbar.
To underline text, you should first select the text, then click the ‘Displays more block tools’ down arrow, and then click on ‘Underline’ from the drop down menu.
To justify a paragraph, first make sure that your cursor is in that paragraph. Then click the ‘Displays more block tools’ down arrow and select ‘Justify’ from the drop down menu.
Adding Underline and Justify Text Buttons to the Classic Editor
If you are using the classic editor, then you should start by installing and activating the Advanced Editor Tools plugin. For more details, see our step by step guide on how to install a WordPress plugin.
Upon activation, you will need to navigate to Settings » Advanced Editor Tools (TinyMCE Advanced) in your admin menu. Next, you need to click on the ‘Classic Editor (TinyMCE)’ tab at the top of the page.
You will notice a preview of the WordPress classic editor. Below the preview, it will show you all the unused buttons.
Now you need to drag and drop underline and justify text buttons from ‘Unused Buttons’ box to the post editor.
When you have finished, make sure you click the ‘Save Changes’ button at the top of the screen to store the new settings.
Now when you are creating or editing a WordPress blog post or page, the new formatting buttons will be available on the classic editor’s toolbar.
We hope this tutorial helped you learn how to add underline and justify text buttons in WordPress. You may also want to learn why WordPress is free, or check out our list of must have plugins to grow your site.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
The Venetian Box says
GREAT POST!!!! You helped me SO much, thank you!!!
WPBeginner Support says
You’re welcome, glad you like our content
Achraf NAJIH says
It worked. Thanks.
Crina Caba says
You answered my question… Thank you.
How to add justify without plugin ?
any idea ?
Thank you so much for the help
Thank you so much! TinyMCE is a super little plugin and I love what it’s done for my text editor.
Again, thank you!
Robert Lindquist says
Thank you very much!!
Thank You So much
Thanks for this! It has been driving me crazy!
Gibran Dimasagung says
Sally Eilers says
….signalling the demise of WordPress.
This doesn’t work on my blog. When I click plugins I go to ‘Jetpack by WordPress.com’ and there is nothing there similar to what you are talking about!!!!
Aayush Bhaskar says
You must be going to Site Dashboard instead of going to Network Admin Area. Click on the Home Icon and Select Network Admin>plugins. There will be Add new, Network Activate etc options available.
Thank man ! it was of great help
Sampath S says
Alternately, you can just use keyboard shortcuts:
Justify alignment – Alt +Shift +J
Underline – Ctrl+U
Thank you. This is a simple solution. I don’t need more plugins on my site.
Thank you so much for this simple solution! No need to mess with plugins!!!
Dipo Putra says
Question is, Why they remove it?
HARISH NEGI says
Thank You very much. Solved my Problem.
Joey Bangun says
Thanks so much!
Praboda Madushan says
Thank you very much!
Sharyn Wise says
You are an amazing WONDERFUL stupendously great FANTASTIC person!
I have just discovered these had gone missing!
A very handy and helpful little tip… Thank you!
Don’t really need a plugin for that. In Mac Ctrl+Alt+J and text justified,
But why wordpress decided to remove the icon from the menu ?
Thank you so much! I added the Re-add Text Underline and Justify plugin and it worked perfectly.
WPBeginner Support says
Glad you found it helpful Don’t forget to follow us on Facebook for more WordPress tips and tutorials.
For me, this helped:
Select the text you wish to justify (ctrl+A)
And wordpress then justifies the text!
Amrit Singh says
You’re the real mvp. thanks for the trick
Aldo Retana says
This was more useful, thanks!
Yes!, You are the real MVP. Awesome
Why did they remove the option to justify or underline text anyway? Was it causing issues somewhere along the line?
Harpreet Kumar says
Realy an awesome article
Good! It’s interesting. Under certain conditions, this may be useful!
On the other hand, I think the underlining should be avoided in all web documents except for creating hyperlinks. This can sometimes cause confusion given the hyperlinks. As for the justification function of the text, this very often gives unexpected results.
It is not for nothing that these two options have been eliminated. Use with parsimony in VERY rare conditions.
Sorry about my poor english.