Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Edo,

    Could be done by some additional coding: either in functions.php (if you are using a child theme or your own theme) or in a plugin.

    Based on WPGlobus::Config()->language load, load additional CSS.

    Thanks
    Gregory
    WPGlobus

    Thread Starter Edodi

    (@edodi)

    problem solved.
    Thanks ??

    Plugin Author TIV.NET INC.

    (@tivnetinc)

    That’s great Edo!

    Any chance you could share solution?

    I need an Arabic transalation for a site and I’m wondering best way to handle this with this plugin i.e. I need RTL to kick in when language switcher is selected.

    Thanks

    Thread Starter Edodi

    (@edodi)

    Hi,
    I don’t remember exactly what i have done and i don’t have this code any more.
    But generally you want to add in your function.php file a check…

    if (WPGlobus::Config()->language == ‘some_language’) {
    // add css
    }

    Thanks Edodi

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘When switching language change css to rtl’ is closed to new replies.