Site logo

Archived topic

Problems with Montserrat Font

2 replies · Started by Mel on April 10, 2023

Viewing posts 1–3 of 3

Hi, I have changed the default font from the MyPet template to Montserrat. It is a Google font. I went to Customising > Typography > Google Font Display: Swap.

Because of the strict privacy and cookie regulations in Europe, I used the plugin "OMGF | Optimize My Google Fonts" which replaces Google Fonts stylesheets (e.g. https://fonts.googleapis.com/css?family=Open+Sans) with locally hosted copies.

However now Montserray doesn't load at all on the site on my iPhone, and on my iPad it first loads a different default font, and then Montserrat. On desktop it loads ok.

Could you please let me know a solution to this.

Thanks

I think I sorted it out. Montserrat Font is displaying ok again now.

I went to https://daan.dev/docs/omgf-pro-troubleshooting/system-fonts/ and got the advice there that I should head into Settings > Permalinks and click Save Changes. This will flush all cached permalinks and rebuild them.

After that, go back to OMGF's settings screen ( Settings > Optimize Google Fonts) and click Save & Optimize to make sure OMGF uses the fresh permalinks in its generated stylesheets.

Glad you figured it out :)

This archived topic is closed to new replies.