Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1093669

    Hi guys!

    We’ve developed a Website with your Theme and it’s translated to other languages from time to time. Now we began to translate it into russian and I’ve figured out that the ‘Lato’ Font we use provided by the theme settings (it’s loaded from google fonts) doesn’t support cyrillic characters (correct me if I’m wrong, it doesn’t look like it does and on google fonts it doesn’t mention cyrillic chars).

    I found a Website which will provide us with a Lato 2.0 font-face, which would solve our problems, but I don’t know how to override the themes settings to use “my” Lato font, which I want to provide in my Enfold Child Theme. I’ve tried to override the font via @font-face in my child-themes style.css file, but it doesn’t seem to change anything.

    Could you tell how to override the google fonts ‘Lato’ font-face with my own alternative located in enfold-child/fonts?

    Thank you very much and greetings from Germany!

    #1093726

    Hi fresewolff

    I always create a new folder called fonts in my root directory and upload the font files there.
    You can probably download it from here first.

    A good resource to help you how to embed self-hosted webfonts is Google webfonts helper.

    Secondly, you need to include the @font-face arguments (see link above) into your root CSS file.
    Last but not least you have to call the CSS file within your header.php (within your child theme folder) like this in case your CSS file is called fonts.css:
    <link rel="stylesheet" type="text/css" href="/fonts.css">

    Hope that helps. Oh and don’t forget to flush your cache at the end.

    Cheers from Switzerland
    Michael

    #1093945

    Hi,

    Thanks for helping out @michaelH, did you try that out and did you have any luck with it @fresewolff?

    Best regards,
    Rikard

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