Site icon AYA Templates

How to Change Theme Text Direction to Right to Left

theme text rtl

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



Best-selling Products:

Newsletter Subscription

Exit mobile version