Change font family for Arabic version of my site

This topic has 3 replies, 2 voices, and was last updated 2 years, 9 months ago ago by Ammar Tello

  • Avatar: Ammar Tello
    Ammar Tello
    Participant
    February 21, 2022 at 16:20

    Hello,

    I would like to ask how can I change font family for Arabic version only of my site.
    In English version, I have used “Montserrat” font, but for Arabic I want to use “Cairo” font.

    How can I accomplish that in your theme?
    Thank you.

    Please, contact administrator
    for this information.
    2 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    February 22, 2022 at 22:01

    Hello,

    There is no such option in our theme. You can try to implement that only by additional customization. You can call that font using @font-face rule https://css-tricks.com/snippets/css/using-font-face-in-css/ and use custom CSS to apply that for body of the RTL version

    body.rtl, .rtl h1, .rtl h2, .rtl h3, .rtl h4, .rtl h5, .rtl h6, .rtl .products-title {
        font-family: 'Cairo', sans-serif;
    }

    Regards

    Avatar: Ammar Tello
    Ammar Tello
    Participant
    February 23, 2022 at 13:34

    Ok
    Thank you

  • Viewing 3 results - 1 through 3 (of 3 total)

The issue related to '‘Change font family for Arabic version of my site’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.