Google Fonts is a great service, but there are some scenarios when you might need to disable Google Fonts. Here are a couple of reasons why:
- You want to move to system fonts and your WordPress theme doesn’t have an easy option to disable their integrated Google Fonts.
- You want to host Google fonts locally instead.
- You want to use a premium custom font instead of Google fonts.
Tip: The GeneratePress WordPress theme uses system fonts out of the box and is what we use on all of our sites.
How to disable Google Fonts in WordPress
Follow the steps below to disable Google Fonts.
Click into the Perfmatters plugin settings.
Under the “Options” tab and “General” sub-navigation menu, toggle on “Disable Google Fonts.”
Scroll down and click “Save Changes.”
Troubleshooting Google Fonts
Are you still seeing Google Fonts loading after enabling the feature? This is most likely due to your WordPress theme or third-party plugin. The above feature will only work if the fonts are properly enqueued in WordPress. If they are loaded differently, you will need to reach out to the theme or plugin developer for help on how to remove them.