• Hi,
    I have a strange behaviour, using Spacious theme,
    some of the text of the page appears in a font that seems to be “Times” or something like that, where it supposed to be “Lato”.
    I checked on several browsers, (firefox, chrome, IE) and checked with firebug the css style for h1, for instance, it is correct:

    h1, h2, h3, h4, h5, h6 {
        color: #222222;
        font-family: "Lato",sans-serif;
        font-weight: normal;
    }

    When I try to use additional CSS, the color is changed, but the font never changed on the page displayed.
    my site is: https://la-grange-des-maths.com/
    (note: I’m not sure but it seems it was ok before I changed the theme and then go back to “Spacious”)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The problem sees to be because of use of “Use Any Fonts” plugin which is overriding the font-family.
    The plugin is adding a CSS rule:

    body, h1, h2, h3, h4, h5, h6, p, blockquote, li, a {
         font-family: '' !important; 
    }

    which results in CSS to resort to default fonts thus skipping Lato

    Try disabling that plugin and check if the Lato font-family comes in action

    Thread Starter grangedesmaths

    (@grangedesmaths)

    Hi Shariqkhan,
    thank you for your answer. Yes it works, but then, I cannot edit pages and choose a specific font.
    So, I now have to activate temporarly UseAnyFont, edit a page chosing a font, then deactivate UseAnyFont.

    Regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Lato font not displayed in theme Spacious’ is closed to new replies.