-
Webkiter
Hi there,
I downloaded google fonts for my website and I defined where they should appear in the customizer.
Unfortunately the GF don’t show up.
Nor in the editor nor in the front end.Can you help?
Thanks in advance!
-
Alvind
Hi there,
Could you go to Settings > General and make sure both the WordPress Address and Site Address are set to use https?
Once that’s updated, the font should load correctly. Right now, the issue is that the font stylesheet is being served over http, which creates a mixed content problem and prevents the font CSS from loading.
-
Webkiter
Thanks a lot Alvind!
That fixed it.
Just curious:
Why did that cause the issue?Thanks again and talk soon!
-
Alvind
Glad to hear that!
Just curious:
Why did that cause the issue?I explained the reason in my previous reply. 🙂
-
Webkiter
Hi Alvind.
The issue still persists.
Although google fonts are showing up now, changes to H1 or Body text will not appear – nor in the customizer, nor on the front end.Any ideas, why that’s the case?
Can you help?
Thanks a lot in advance!
-
Webkiter
I fixed it myself.
After switching to https:// like you described above, I had to re-download the Google Fonts.
🤤 -
Alvind
Ah, yes – after changing the site from
httptohttps, the fonts need to be disabled and re-enabled (or reinstalled) so the generated font CSS is rebuilt with the updatedhttpsURLs.It’s likely still pointing to the old http font stylesheet previously, which is why it isn’t loading correctly. I forgot to mention that earlier.
-
Webkiter
Thanks Alvind!
So how do I fix that:
It’s likely still pointing to the old http font stylesheet previously, which is why it isn’t loading correctly. I forgot to mention that earlier.
?
Thanks in advance!
-
Alvind
You can either disable and then re-enable the font in the Font Library settings, or simply reinstall the font like you did before.
Both methods will regenerate the font CSS and should resolve the issue.
- You must be logged in to reply to this topic.