Archived topic
Font Troubles
3 replies · Started by Matt Stern on October 15, 2022
Hi There,
I'm having an issue where on the first page load (in incognito mode), the fonts load incorrectly. When you refresh the page or visit a second page, the issue seems to resolve.
The page will load Times font initially, then loads the proper font, called Figtree.
I have caching turned off. And I'm using a plugin called Custom Fonts to load the fonts. (I uploaded them to the media library)
Link here: https://sterndesign.co/work/
Screencast here: https://vimeo.com/760658260/f7d9c99c39
Thank you!
Matt
Hi there,
if i check the @font-face CSS on your site i see it has the font-display: optional; property. Which is why the browser chooses not to load the font. Can you change that to auto instead of optional ?
Thanks much, David, that did it. :)
Glad to hear that!