How to Regain the Justify and Underline Text Buttons in the WordPress Editor

Last Updated on September 20, 2022 by 4 Comments

How to Regain the Justify and Underline Text Buttons in the WordPress Editor
Blog / Tips & Tricks / How to Regain the Justify and Underline Text Buttons in the WordPress Editor

To paraphrase Douglas Adams:ย in the beginning, WordPress used to feature both justify and underline text buttons in the visual editor. Then they were removed; and while this has neither made a lot of people very angry โ€“ or been widely regarded as a bad move โ€“ those who use the functionality are left searching for alternatives.

Fortunately, there are a number of ways to regain these features, and most only take a minimum of effort to implement. In this article, weโ€™ll go over why the justify and underline text buttons were removed, then discuss three methods to get them back.

Why the WordPress Editor No Longer Contains the Justify and Underline Buttons

The WordPress editor displaying both the justify and underline buttons.

The WordPress editor after re-adding both the justify and underline buttons.

In short, the justify and underline text buttons in WordPress were cutย for potential usabilityย reasons. It was one of the changes that took place during the WordPress 4.7 update, which saw some other re-arrangements made to the editor (mostly dealing with button placement).

In the case of the underline button, it was argued that visitors might confuse underlinedย text with links, potentially impacting usability. However, the same wasnโ€™t true for the justify feature (which makes your text align correctly to both margins). ย This was removedย due toย inconsistentย browser implementations and the resultant potentialย readability issues.

These are definitely solid reasons for removal. However, theย buttons also have some benefits, for example:

  1. Highlighting sentences.ย Underlining text isย an easy way to highlight important parts of your content, without resorting to bolding it.
  2. Structuring your text. Justified text is very pleasing to the eye, and it tends to look more orderly. Furthermore, most modern browsers have no problem implementing it.
  3. Better readability. Both styling optionsย enable you to increase your siteโ€™s readability. This is critical when it comes to web contentย since users potentially wonโ€™tย put up with poorly formatted pieces.

In any case, reinstatingย the justify and underline text buttons in WordPress wonโ€™t break your site in any way. As far as weโ€™re concerned, choosing whether to use them or not is up to you โ€“ and next, weโ€™ll teach you how to do it.

How to Regain the Justify and Underline Text Buttons in WordPress (with 3 Methods)

Short of digging into WordPressโ€™ core files and editing them yourself โ€“ which can be dangerous โ€“ these are the simplest three ways to regain both buttons in the editor. Letโ€™s take a look!

Method #1: Use the Re-Add Text Underline and Justify Plugin

The Re-Add Text Underline and Justify plugin.

This pluginย was released after the aforementioned 4.7 update. In fact, it was created expressly for the purpose of re-adding both buttons to your editor. It doesnโ€™t come with any frills or unnecessary features either โ€“ it simply doesย what its name implies.

After installing and activating the plugin, youโ€™ll find a new option in the Settings > Writing tab โ€“ย Editor style. This setting includes a drop-down list thatย enables you to choose between re-adding both buttons or just justify, as well as re-arranging them or keepingย your editor as is:

Configuring your WordPress Writing settings.

If you want to put your editor back to its 4.6 state, chooseย the Re-add underline & justify options and save your changes. Now check your editor, and youโ€™ll find both buttons back where they belong.

Method #2: Use the TinyMCE Advanced Plugin

The TinyMCE Advanced plugin.

If youโ€™re looking for a more thorough solution than the previous plugin, TinyMCE Advancedย could be ideal. This particular plugin enables you to customize your entire WordPress editor, including its button arrangement, along with some moreย advanced features.

Aside from enabling you to re-add the justify and underline text buttons in WordPress, it also includes options for strikethrough text, subscript and superscript, and the ability to insertย emoticons.

After activating the plugin, youโ€™ll find a new TinyMCE Advanced option under your Settings tab. Once youโ€™re on that screen, youโ€™ll find a reproduction of the WordPress editorโ€™s toolbars:

A reproduction of the WordPress editor.

Further down, youโ€™ll see several rows of unused buttons, including Justify and Underline:

The buttons you can add using the TinyMCE Advanced plugin.

You can add any of these to your editor by dragging and dropping them to your desiredย location to the toolbar at top of the screen. Once youโ€™re finished, click on the Save Changes button, and youโ€™re ready to go.

For improved usability, you should consider adding both buttons alongside their peers. That means placing Justify next to the other alignment settings, and Underline near the otherย text styling buttons.

There are plenty of other features, but theyโ€™re beyond the scope of this article. However, if youโ€™re interested in checking them out, take a look at theย comprehensive documentation.

Method #3: Use the HTML Editor

If weโ€™re being honest, this isnโ€™t a method to regain the justify and underline text buttons in WordPress per se. Itโ€™s more ofย a workaround to achieve the desired outcome. However, itโ€™s a good option for those who want to underline or justifyย their text without setting up a plugin. It centers around adding some simple HTML tags to the WordPress text editor โ€“ and itโ€™s easy to achieve.

For example, wrapping your text inย <u> tags will underline any text within themโ€ฆ

<u>This will underline your text!</u>

โ€ฆwhereas using the <p> tag alongside an additional align value will justify your text.ย For example:

<p align="justify">This will justify any text between both tags.</p>

Itโ€™s a simple workaround that still gives you the ability to justify and underline your text, without installing another plugin.

Conclusion

Quite frankly, the removal of the justify and underline text buttons in WordPress is unlikely to change anyoneโ€™s mind about using the platform. However,ย it definitely wasnโ€™t welcomed by someย users. Of course, WordPress is renowned for its flexibility, so there areย plenty of waysย to restore these two features, whether thatโ€™s via a plugin or a more hands-onย method.

Here are the simplest three ways to go about it:

  1. Use the Re-Add Underline and Justify plugin.
  2. Set up the TinyMCE Advanced plugin.
  3. Add code intoย the HTML editor.

Do you miss any other features that WordPress has removed in the past? Share your stories with us in the comments section below!

Article thumbnail image by Illustration Projects / shutterstock.com

Divi

Want To Build Better WordPress Websites? Start Here! ๐Ÿ‘‡

Take the first step towards a better website.

Get Started
Divi
Premade Layouts

Check Out These Related Posts

Splice Video Editor: An Overview and Review

Splice Video Editor: An Overview and Review

Updated on March 10, 2023 in Tips & Tricks

Video is a valuable form of content for social media. Unfortunately, creating quality videos is usually a long process that involves moving mobile footage to a desktop app for editing. However, mobile editing is on the rise. Apps such as Splice Video Editor make it possible to efficiently create...

View Full Post
How to Use Font Awesome On Your WordPress Website

How to Use Font Awesome On Your WordPress Website

Updated on September 16, 2022 in Tips & Tricks

When given the choice between using a vector icon or a static image, it’s a good idea to go with the vector. They’re small and fast to load, and they can scale to any size without a loss of resolution. Font Awesome is a superb library of vector icons that you can use on your websites,...

View Full Post

4 Comments

  1. I missed the Justify button initially, and i do know that they must have enabled it still with a keyboard shortcut. i was checking the wp forum and found the answer. and your plugin additions seems to bring back the old favorite editor window look. ๐Ÿ™‚ Its more helpful. Thank you John.

    Robin.

    • Hi Robin! I’m glad we were able to help you out. ๐Ÿ™‚

  2. Dear John Hughes
    Your article is quite easy and very much understandable. Keep up the Good work Sir….

    • Thanks for your comment! ๐Ÿ™‚

Leave A Reply

Comments are reviewed and must adhere to our comments policy.

Get Started With Divi