How to Remove Google Fonts Suggestions in Astra Theme?
|
/ Documentation /Custom Code Snippets/ How to Remove Google Fonts Suggestions in Astra Theme?

How to Remove Google Fonts Suggestions in Astra Theme?

Astra theme comes with built-in Google Font Families. Astra’s build process automatically checks all Google Fonts and lists them in Customizer options.

Astra typography settings

How To Remove Google Fonts Suggestions?

To remove Google Fonts suggestions from the Customizer.

You can insert the following filter in your child theme’s functions.php file –

add_filter( 'astra_google_fonts', '__return_empty_array' );

If you don’t have your Child Theme installed, please check this article on how to do it.

If you are not sure how to add this code, please check this article.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
On this page

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

This field is required.

REWIND

YEAR IN REVIEW

Scroll to Top
Now choose your preferred
page builder addon
Choose your preferred page builder addon

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form