Hi @joy0114
I hope you’re well today!
Let me take a step back and correct the answer that you were given before:
if you do not want to use Bunny fonts you actually need to not only switch typography to default but also enable “Vanilla theme”.
I can see that my colleague asked our Hustle Team about it but apparently there was some slight misunderstanding on our end, causing this entire confusion. I’m sincerely sorry for this.
The way it works is this:
– if you don’t have “Vanilla theme” enabled in popup/slide-in (or other module) Appearance settings – it will use one of pre-defined styles;
– those styles also have some fonts defined and those are fonts from Bunny fonts (previously Google fonts)
– the difference that switching to “default” typography makes – is that instead of using custom chosen fonts, it only uses those that are defined “by default”
– if you enable “Vanilla theme” option (and don’t customize typography in Appearance settings) it will actually disable all the pre-defined styling (other than just some “layout” – as in e.g. position of image or button – related parts).
Only then it will take fonts/colors/etc from your theme.
It will not load Bunny fonts then. I have tested it and can confirm for sure.
However, please note that these setting are separate “per module” in Hustle. If you set one module like that, there may be another one loading some Bunny fonts – they would all need to be set this way.
Furthermore, we are switching all our plugins to Bunny fonts so in future you may also need to do similar changes e.g. to Formiantor forms settings – if you are using it.
Additionally, you mentioned that it appears to be loading “all” the fonts. This is actually surprising and not expected. I did more testing on this and couldn’t replicate this in any way but there is a possibility that this would be caused by some intense asset optimization. Specificially – if CSS has been in some way optimized and cached before changes were made (and if JS was optimized and/or deferred and cached) it may be involved.
I would strongly suggest re-running all the asset optimization (JS/CSS/fonts) and clearing all caches after making changes mentioned above.
Kind regards,
Adam