• I want to remove dir=”rtl” from my HTML attribute.
    When I set the language to Arabic it added it automatically
    <html class="js" dir="rtl" lang="ar">
    so how to remove it?

    • This topic was modified 2 years, 5 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not a Requests and Feedback topic
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter abody5111

    (@abody5111)

    Please don’t tell me to add a css code to change the direction..
    I just want to remove dir=”rtl” from the attribute how?

    That’s normally part of your theme. Look for the header.php file and see what is has for the <html> tag. That will point you in the right direction to find out more.

    As an example, in some themes that I’m uisng, it has this:

    <html <?php language_attributes (); ?>>

    Your theme probably has something different.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to remove dir=”rtl”’ is closed to new replies.