Bug fix tip for team

Posted in: Newspaper
Post count: 6

Hello,

When using font ‘Oswald’ as a title on article post, when refreshing the page, a different font shows up for half a second before ‘Oswald’ font is being shown. Could this be fixed somehow? I really want to use this font but it looks bugged.

Thanks in advance!

Post count: 35449

Hi rinkdemi, I think that this font is the default one from browser and this is usually, display until the one set in the theme it is load.
Some tips will be to preload the fonts, this can be done using some cache/optimize plugins, or adding the code in functions.php (it is indicate to use child theme for this) -> https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/#preload-newspaper-theme-fonts.
Also another method that it has good results it is to use a custom font, set it as general and disable the rest of the fronts, like google fonts … -> https://i.imgur.com/78NY2Yn.png -> https://i.imgur.com/YfPMFNk.png -> https://i.imgur.com/1KFt8YN.png
I hope this will help you!
Let me know the results!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.