• Resolved anotherbreed

    (@anotherbreed)


    Hi there,

    I love this plug-in so far, but I have a weird issue with fonts in my site. I have imported two Google webfonts via CSS (with @import) but when Autoptimize is activated, it looks like the every fonts is replaced with a generic sans-serif even if in the source code of the page I can still read the name of the correct fonts (Nunito and Source Sans).

    Any ideas?

    Thanks

    https://ww.wp.xz.cn/plugins/autoptimize/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter anotherbreed

    (@anotherbreed)

    Update: I may have fixed that by using a different way to embed them, I have used <link href='<em>myfonts</em>' rel='stylesheet' type='text/css'> instead of @import.

    Plugin Author Frank Goossens

    (@futtta)

    glad you found a workaround anotherbreed. if you’d ever want to revert to the @import-based solution, I’d be happy to have a look at what could be going wrong.

    kind regards,
    frank

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Not loading Google webfonts’ is closed to new replies.