Archived topic
Default Fonts - generate-fonts-ul-dec2f
13 replies · Started by HT on June 13, 2021
I could see the following error because of font montserrat-normal-600.woff2 even though I don't use omgf anymore. So my question is how to fall back to default font by theme for every element in the site.
The Critical Request Chains below show you what resources are loaded with a high priority.
I have already changed the fonts to default from customize options
Hi there,
So my question is how to fall back to default font by theme for every element in the site.
Not 100% sure if I understand the question but that should be the default as long as the content from the plugin doesn't set any specific font to it.
As you could see in the private information, I could still see the fonts. Can you let me know what is the exact font that is used with GenerarePress. My question is how to avoid these fonts. I think none of the plugins are interfering here.
Hi there,
As you could see in the private information, I could still see the fonts. Can you let me know what is the exact font that is used with GenerarePress. My question is how to avoid these fonts. I think none of the plugins are interfering here.
Here's all the font GP adds - https://github.com/tomusborne/generatepress/tree/master/assets/fonts
and this, (from GP Premium) - https://share.getcloudapp.com/o0ue80G2
GeneratePress doesn't request any fonts unless specified by user. The typography settings are set on Appearance > Customize > Typography. By default, The body is set to "system stack" while everything else is set to inherit.
The ones you've specified are optimized fonts locally hosted from OMGF plugin. You can even see on the pathing where and what plugin adds it in. wp-content/uploads/omgf
To avoid these font requests: Make sure the Typography settings doesn't have any font family set on them. Also make sure to check if any plugins have any default fonts they add-in on install/activation.
Now, as to why this is still being requests even after you've removed OMGF, perhaps your CSS cache still has contents that use these fonts. That's possible why it's still being requested.
That said, try clearing ALL cache (plugin, backend/server cache) and see if it changes.
To be sure: Delete OMGF if you're not using it. :D
GeneratePress doesn’t request any fonts unless specified by user. The typography settings are set on Appearance > Customize > Typography. By default, The body is set to “system stack” while everything else is set to inherit.
I have set everything to inherit including body ...system track going to create additional load by adding new font if I select "System stack"
To avoid these font requests: Make sure the Typography settings don’t have any font family set on them. Also, make sure to check if any plugins have any default fonts they add in on install/activation.
I use only "table of content" specifically for the front end. I don't know how to avoid this loading additional font.
That said, try clearing ALL cache (plugin, backend/server cache) and see if it changes.
I read your signature 10 times or more :-D. So I know. Thank you.
Just to make sure, are you wondering why these fonts are loaded?
/wp-content/uploads/omgf/generate-fonts-ul-dec2f/montserrat-normal-600.woff2
/wp-content/uploads/omgf/generate-fonts-ul-dec2f/bree-serif-normal-400.woff2
/wp-content/uploads/omgf/generate-fonts-ul-dec2f/montserrat-normal-400.woff2
That's definitely not something GP loads by default. The file folder is pointing to omgf still.
I understand these are not GP related.
But my questions were this?
GeneratePress doesn’t request any fonts unless specified by user. The typography settings are set on Appearance > Customize > Typography. By default, The body is set to “system stack” while everything else is set to inherit.
I have set everything to inherit including body …system track going to create additional load by adding new font if I select “System stack”
To avoid these font requests: Make sure the Typography settings don’t have any font family set on them. Also, make sure to check if any plugins have any default fonts they add in on install/activation.
I use only “table of content” specifically for the front end. I don’t know how to avoid this loading additional font.
Can you help to answer please?
The body should be set to system stack and the rest can be set to inherit.
system track going to create additional load by adding new font if I select “System stack”
That shouldn't be the case. System stack is the system font of a particular operating system so the browser doens't have to download any font files.
https://css-tricks.com/snippets/css/system-font-stack/
https://systemfontstack.com/
I hope I can use system track for others as well to avoid loading foreign fonts. Is that correct understanding?
What do you mean by "others"?
I checked the front page and the only element that is not using system stack is the primary navigation font which is using Montserrat,sans-serif
Thank you!
What do you mean by “others”?
All the other places where fonts are in use.
As I mentioned below, I could see that the different sets of fonts (with bold option) are in use while loading. Once the loading is completed the font is getting changed. Any clue?
I'm actually not seeing the issue when I view your site.
It's usually a caching issue though.
OK thank you.
No problem :)