Definitive guide

How To Justify Text In WordPress

How To Justify Text In WordPress – Ultimate Guide (2024)

Do you want to know how to justify text in WordPress?

You came to the right place! 

Here, I’ll show the easiest ways how to do it. 

Here we go. 

How To Justify Text In WordPress 

Justification offers text a cleaner, more formal appearance than left-aligned text. With that, I understand why users preferred this over the other.

Here’s how to do justification in three different approaches. 

How To Justify Text In WordPress using Keyboard Keys 

Step 1: Open your post. 

Step 2: Select the text you wish to align with.

Step 3: Press Alt + Shift + J. 

  • Windows: Ctrl + Alt + J
  • Mac: Ctrl + Option + J

The selected text is now justified. However, this method does not always work. Another option is to utilize a text-justification plugin.

How To Justify Text In WordPress using a Plugin 

There are plugins available for text modifications such as justification. Some of them are the “Re-add Text Justify Button” and “Re-add Text Underline and Justify.”

Re-Add Text Justify Button

WordPress Version:4.7 or higher

    This plugin allows users to re-add the text-justify button to the WYSIWYG editor.

    Re-add text underline and justify

    This plugin restores the Editor text underline and text-justify buttons that were deleted in WordPress 4.7. It is compatible with the Classic Editor plugin, Advanced Custom Fields (Free & Pro), and Gutenberg’s “Classic” bloc.

    There are three options available:

    • Without underlining & justify buttons
    • Default – Re-add underline & justify buttons
    • Only re-add justify

    How To Justify Text In WordPress Manually 

    This might be the most complex approach, but I’ll guide you in the best way possible. 

    Step 1: Log in to your WordPress account.

    Step 2: Go to your WordPress dashboard.

    Step 3: Drag your mouse over “Appearance.”

    Step 4: Select “Customize.”

    Step 5: Click the “Additional CSS” checkbox and insert the following code.

    justify-text {

    text-align: justify;

    }

    Step 6: Save and publish your work. The CSS is applied to the theme after saving and publishing.

    Step 7: Return to your WordPress dashboard.

    Step 8: Open an article or create a new one.

    Then, choose the text that needs to be justified.

    Step 9: Go to the Advanced tab, then click “Additional CSS Classes.”

    Step 10: Type “justify-text”’ in the empty text box and click “Update.” 

    Did you get it? I know it’s hard, but you can do this! 

    Conclusion 

    Text justification in WordPress is a valuable skill to have. Justifying text is essential for a book, essay, or other lengthy writing pieces. Overall, a website with justified text conveys a professional image.
    I hope you got everything you need to justify text on the WordPress website!