If you aren’t using Google Fonts in Elementor then you don’t want them to load on your site. This slows things down and creates unnecessary bloat. A recent site I built was using TypeKit rather than Google Fonts and I had disabled the loading of Google Fonts in Elementor but it was still loading.

What happens here is if you accidentally use a widget in Elementor that has a Google Font already selected it is still going to load it. One solution is to dig through every single Elementor block and check if it uses Google Fonts. This is tedious work. Luckily there is an easier way to disable it.

// Disable Google Fonts in Elementor
add_filter( 'elementor/frontend/print_google_fonts', '__return_false' );

Add the above code to your functions.php file and it should disable the loading of Google Fonts through Elementor even if you are using a block that calls for a Google Font.

Leave a Reply

Get in Touch

Please fill out the form below and we will get back to you ASAP

  • This field is for validation purposes and should be left unchanged.