How to justify text in WordPress? 3 Effective Ways

How to justify text in WordPress?

No denying the fact that WordPress is the most used CMS in the world right now. As per estimations, 810 million websites have been designed with this CMS by the end of 2023.

Due to this, it keeps on updating its functions to engage the users and be a bull in the market. 

However, it has been seen that some of the options have been removed by WordPress after upgrading its version to 4.7.

No doubt, it was done to help the users but the removal has also created problems. For example, there is no text justification option after upgrading to this version.

It has made the editors uncomfortable as they want their text to be justified. If you are one of those, you should read this blog about how to justify text in WordPress.

We have written this blog after comprehensive research and testing different methods. Our team of developers has found only 3 methods that are effective in almost every situation.

So, we are going to discuss them here with an explanation of the justified text in this blog.

Justify text in WordPress

You can justify text in WordPress using the keys “Ctrl + Alt + J” on Windows and “Ctrl + Options + J” on Mac with a classic editor installed on your site. If it isn’t working, you can also use “Re-add Text Underline and Justify” or “Block Editor Toolkit” plugin to your website.

What is Justified text?

Before reading the methods to justify text in WordPress, you should understand what this type of text is.

Justified text means to justify everything related to text including space, starting point, ending point, and adjustments.

Simply, you can say that justified text is the filtered type of text in which any piece of content can be set into a proper pattern.

Through this method, one can set the text in a suitable format with appropriate parameters. 

For an editor, it is like a magical move that can help them get the attention of the readers and offer them a smooth reading experience.

Meanwhile, a reader finds it attentive to look at the text set in this format and have a better experience for understanding what is written there. 

How to Justify Text in WordPress?

Mostly, users think that they can customize the theme to justify text in WordPress. It is completely wrong to have this concept.

You will waste your time doing so if you don’t know how to justify text in WordPress.

No doubt, it can be done with a proper adjustment but you can’t do this unless you know where to customize the theme and how to customize it.

In this section, we will show you 3 ways that will help you justify text in WordPress and give it a proper and formal look.

Method 1: Through the Keyboard Shortcut

The simplest way to justify text in WordPress is through a keyboard shortcut. It can be done easily as well as nicely within a few seconds.

Here are the steps that you have to follow for this adjustment. 

  • Login to the WordPress dashboard and go to “Posts
  • Click on the “Post Title” that you want to set with justified text
  • Select the paragraph and use the following keys
Justify text with keyboard shortcut key
Justify text with keyboard shortcut key in the classic editor

For Windows: Alt + Shift + J

For Mac: Ctrl + Options + J

By pressing any of these keys, you will be able to justify the text that you have selected.

You can also justify the whole post if you want to by clicking on Ctrl + A to select the entire text and then use the above-mentioned keys. 

This method is only applicable in “Classic Editor”. So, you have to first switch to this theme editor mode and then try this method for text justification.

Method 2: Using a Plugin

Sometimes, the above method doesn’t work due to some reasons like OS differences or any other.

In that case, you can also use a dedicated plugin to justify the text of your WordPress posts. It can be done easily with the help of a plugin and understand it’s working.

Most plugins will enable the “Justify” option in your WordPress content creator like you had in the previous versions.

So, you only have to select the text and click on that button to perform this task. Here are some of the best plugins that can be used for this purpose.

  1. Re-add text underline and justify (For Classic Editor Users)
  2. Gutenberg Block Editor Toolkit (For Block Editor Users)

To help content creators with WordPress editors (old and new), we have listed the separate plugins. Let us show you how to use them and justify text in WordPress using these plugins.

1. Re-add Text Underline and Justify (For Classic Editor Users)

If you are a classic editor user, you should install this plugin and activate it. Once you have done so, you should follow these steps.

Add justify option  in classic editor screenshot
Add a justify option in the classic editor by using plugin
  • Go to the WordPress dashboard and then “Settings
  • Go to the “Writing” section and look for “Editor Style
  • Set it to “Default – Re-add underline & justify buttons

After saving the above setting, go to any post and select the text/passage. You will see a justify option in the menu bar along with default options by WordPress.

2. Gutenberg Block Editor Toolkit (For Block Editor Users)

If you enjoy working with block editor settings, you should use this plugin. It is a complete toolkit that enables you to justify text in WordPress as well as perform other tasks.

How to Justify text in block editor?
How to Justify text in the block editor?

Here are the steps that you have to follow for justifying text using this after installing this plugin.

  • Go to your WordPress dashboard
  • Open any post in the Gutenberg editor
  • Select the text and click on the small arrow given in the top menu bar

You will see an option with justify symbol and name. By clicking on it, you can easily justify the text in WordPress.

Method 3: Justify Text by Inserting Custom Code

A little tricky, but effective, method to justify text in WordPress posts is by adding CSS code to your theme.

It may be hard for you if you haven’t visited the backend of your website for customization or adjustment of the site. 

But you will be able to keep yourself comfortable by adding a “CSS Attribute” to your theme.

As it is the role of a WordPress theme to adjust the preview, you can make a little adjustment in the backend and then justify the text directly in your posts quickly. 

Text justification by adding custom CSS code
Text justification by adding custom CSS code

Here is how to do so: 

  • Login to your WordPress dashboard and go to “Appearance
  • Click on the “Customizetheme option and then “Additional CSS
  • Paste the following code in the box:
p {

text-align: justify;

}
  • Click on the “Save” button

This is the most effective method as you will add a “Custom CSS Code” to your theme that will automatically justify the text.

It means you don’t have to justify text for every post but the text will be justified automatically when you publish it to your website.

How impactful is justified text?

It is a common question that most new editors ask about justified text. You should also understand how impactful this type of text is in addition to how to justify text in WordPress.

That’s why, we are here with a quick discussion on this. In our years of experience, we have seen that justified text has helped us retain the bounce rate lower.

It means that the reader stays on our website because of its clean preview. Secondly, we have found it impactful on the overall layout of the blog.

This addition to our blogs has helped our visitors find it more interesting and attractive as compared to the previous format of text.

In short, it is right to say that it has helped readers which automatically impacts our website’s growth. 

Check out our video guide on how to justify text in WordPress

FAQs

Can we upload justified text from Word to WordPress?

No, you can’t take justified text from Word to WordPress as it is. Whenever you copy something from MS Word and paste it into WordPress, the format will be changed. 

Does WordPress have any justified text options?

WordPress had a justified text option but it was removed after the update of this CMS to the 4.7 version. 

What is the shortcut key for text justification in WordPress?

There are two shortcut keys to justify text in WordPress that are given below: 

For Windows: Alt + Shift + J

For Mac: Ctrl + Options + J

Final Wrapping

The above blog has been written after testing multiple ways to perform this adjustment. We hope you have learned how to justify text in WordPress.

After following this guide, you can easily perform these custom settings to your website/blog. 

Back To Top