Special Offer: Buy All 8 Premium WordPress Themes for Just $71.99. Learn more

How to Change Theme Text Direction From Right to Left

By default text direction in our themes is Left to Right. However, if your website is written in Hebrew or Arabic text, then you probably will have to change text direction to Right to Left.

It will require a small code change. Here are all of the necessary steps:

1. Login to your WordPress Admin Panel

2. Navigate to Left Menu -> Appearance -> Editor

3. Open header.php

4. Replace:

<body <?php body_class(); ?>>

with:

<body <?php body_class(); ?> dir=”rtl”>

5. Save changes

About the Author

Leave a Reply