Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1082894

    Hi everybody,
    I am using Polylang plugin for my enfold website.
    I have 2 languages (Italian / russian).
    When I try to modify the font for Russian language (for example, I choose family font called Cormorant), it automatically changes also the font in Italian (I chose Lato font for Italian)…
    How can I keep different fonts for these two languages so keep them independent from each other?
    Can you help me please?

    #1083992

    Hey Matsky1,

    That option isn’t available in Enfold and it’s outside the scope of our support.
    Try checking out if there are plugins that does this.
    If both fonts are loaded, I think you can use css codes to switch fonts and take advantage of the language attribute in the html tag:

    html[lang="en-GB"] #main {
      font-family: 'Cormorant', sans-serif;
    }
    
    html[lang="it-IT"] #main {
      font-family: 'Lato', sans-serif;
    }

    Best regards,
    Nikko

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.