• Hello,

    My default fonts suddenly changed. I run the examine in Chrome Browser and checked the CSS of the website.

    I noticed that some CSS was added automatically but not in my main CSS file. This is this line of code:

    font-family: -apple-system,BlinkMacSystemFont,”Segoe UI”,Roboto,”Helvetica Neue”,Arial,sans-serif,”Apple Color Emoji”,”Segoe UI Emoji”,”Segoe UI Symbol”;

    I import Google Fonts in my main CSS file like:

    @import url(‘https://fonts.googleapis.com/css?family=Oswald:400,900’);
    @import url(‘https://fonts.googleapis.com/css?family=Lato:400,900’);

    When I disable this line of CSS in Chrome examinator:

    font-family: -apple-system,BlinkMacSystemFont,”Segoe UI”,Roboto,”Helvetica Neue”,Arial,sans-serif,”Apple Color Emoji”,”Segoe UI Emoji”,”Segoe UI Symbol”;

    Fonts are going back to normal.

    Could you write to me how I can disable this line permanently?

    Thank you for your help.

    Cheers

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

Viewing 1 replies (of 1 total)
  • Thread Starter zerozeroseven

    (@allcodeunknown)

    Hello,

    I managed to solve that problem.

    I installed Insert Header and Footers WordPress Plugin and paste in the header section this Google Fonts code:

    
    <link href="https://fonts.googleapis.com/css2?family=Lato:wght@400;900&family=Oswald:wght@400;700&display=swap" rel="stylesheet">
    

    I looked up to a file which was the problem and I found out that problem was with the normilze.css file. I don’t know if it was added with the newest WP version automatically or in some other way but it has broken my website.

    Cheers.

Viewing 1 replies (of 1 total)
  • The topic ‘My default font suddenly changed, don’t know why.’ is closed to new replies.