Getting rid of Google fonts

Hi, I am using custom fonts in a project. But I still have the requests foing out to the google servers:

How can I get rid of the google fonts in the css of any project in general?

Thank you!

Google Fonts aren’t loaded in my project. You can select Google Fonts separately under Font Family in the theme settings. They should then load on every page.

Strange that shouldn’t be the case… I wonder if something in your site might be using a google font from the Theme Studio.

Can you share your project via Elements Cloud and we’ll take a look and find out what’s going on!

Thanks, I have sent the link vie chat

Thanks, taking a look now!

@Fuellemann, Here’s a video explaining the issue (that we’ll fix) but in short, use the “System” theme for now as a workaround because it doesn’t use any google fonts…

Thank you, good solution!

@Fuellemann I have good news! @tpbradley has worked his magic and has fixed this bug already — Build 1.0.7 is now available.

Cool, this is great!

Hm, not sure that works for me. I used the Font Family section of the Theme Studio to overwrite the body to change it to Font Names: system. Still, There’s a google api call showing in google page speed. I do use a h1 and a h2 on my coming soon page, both are set to use the overwritten body font though

When I overwrite the - not used ! - heading font and set it to use Font Names: system as well the google api call is gone.

Did I not understand it correctly that that shouldn’t be needed if I don’t use the heading font (which I don’t)? I might add, that I don’t see it when I inspect the website in the browser (maybe you do?), but google page speed shows it:

And why’s gsap and ScrollTrigger (and some others I don’t use) in there? Don’t use any of that (yet).

I’ll create a ticket to improve this in the future.

For now, the recommended workaround is to manually override all Google Fonts to ensure they’re removed from the published HTML. Since content is dynamically generated, we currently don’t track which fonts are actually used, so we can’t reliably filter out unused Google Font references just yet.

Same goes for scripts like GSAP, ScrollTrigger, and a few others. If they’re included in the output even when not used, it’s because we don’t currently track usage at a granular enough level to exclude them automatically. We’ll look into improving that as well.