• Resolved dsb0328

    (@dsb0328)


    Hello. I am experiencing a problem with importing Google fonts into my site after upgrading my server to an ssl https server. I used to just use the css code of @import url(http://fonts.googleapis.com/css?family=Muli:300|Oswald:400); but then my client wanted to speed up their site according to the Google Speed Test. So, I searched for an answer and found this link that shows how to do it in the functions.php file. I used method 2-1 (recommended) and it worked great and sped up the site, until we went from http to https. Any ideas of what could have happened? Any help would be greatly appreciated.

    • This topic was modified 9 years, 6 months ago by dsb0328.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter dsb0328

    (@dsb0328)

    Actually it seems that even the @import url(http://fonts.googleapis.com/css?family=Muli:300|Oswald:400); doesn’t work anymore either. Is there a totally different way, other than using Easy Google Fonts plugin (which I am using in the meantime until this gets resolved) to do this with an https address?

    Hello,
    you should change the scheme from http to https.
    So:
    https://fonts.googleapis.com/css?family=Muli:300|Oswald:400

    Doesn’t it work?

    Thread Starter dsb0328

    (@dsb0328)

    That did it. Thanks! I feel a little silly not trying that, but guess I didn’t think the Google link needed to change as well. Figured that was was it was.

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

The topic ‘After https upgrade, no Google fonts’ is closed to new replies.