Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

vincent15000's avatar

How is it possible to prevent TailwindCSS from loading Figtree font from google ?

Hello,

How is it possible to prevent TailwindCSS from loading Figtree font from google ?

Any idea ?

UPDATE => I think that it's not TailwindCSS which loads the font, it's the browser. So how is it possible to prevent the browser from injecting a font ?

Thanks for your help.

V

0 likes
6 replies
Shivamyadav's avatar

Somewhere in your code you have injected that particular font..

Browser does not load the font by default.

Look for this or only just search the font name on your project. I'm sure it's there .

@import url('https://fonts.googleapis.com/css2?family=Figtree&display=swap');
1 like
vincent15000's avatar

When I open the application in a private browser session, the font is not loaded.

And sure I don't import this font in my code. If it's the case, it's only via a package and I initially thought it was with TailwindCSS.

Shivamyadav's avatar

Check form the network tab from where it is coming?

1 like
vincent15000's avatar

Already done, it comes from this file.

contentScript.bundle.js
JussiMannisto's avatar
Level 50

Your app isn't involved here: the font is being loaded from some Chrome extension. It's not showing up in incognito mode because extensions are disabled there by default.

So the only solution is to disable the extension, whatever it is.

1 like

Please or to participate in this conversation.