• Resolved suniltcig

    (@suniltcig)


    Hi All,

    I have installed TranslatePress plugin in my website and tried the Arabic RTL and translated the website page. But it is displaying the Arabic text in the English font which is Montserrat. I wanted to add Arabic – “Tajawal” font. I tried to add the font using css in style-rtl.css file in the Theme Editor.

    body.rtl {
    text-align: right !important;
    font-family: ‘Tajawal’, sans-serif !important;
    unicode-bidi:embed !important;
    }

    But unfortunately it is still displaying the English font. For some reason the English font is overriding the Arabic font. Please note that I am using Wavo wordpress theme.

    Requesting your kind expertise here to solve this arabic font issue without any coding please.

    Kind Regards,

    • This topic was modified 3 years, 3 months ago by suniltcig.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Alex

    (@alexcozmoslabs)

    Hi,

    It’s up to your theme to add support for RTL alignment. WordPress itself defines if a language is RTL. The actual theme is responsible for showing RTL languages, not the plugin, so as long as you have a theme that supports RTL it would work when you change the on an RTL language

    About the font I suggest the following code (be sure you use the correct langauge code for the .translatepress class):

    body.translatepress-ar { 
    font-family:"Tajawal" !important; 
    }

    Kind Regards,

    • This reply was modified 3 years, 2 months ago by Alex.
    Plugin Support Alex

    (@alexcozmoslabs)

    Since more than 5 days have passed since you received instructions about the opened topic, and you did not return with an update, we will mark this ticket as successfully resolved.
    If you have other questions regarding TranslatePress, we recommend that you create another ticket.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add different font for Arabic language in RTL’ is closed to new replies.