Tagged: Fonts, Google, google fonts, privacy, toggle
Hi,
I have a privacy policy page with a privacy toggle that enables/disables Google Fonts on the site. Whenever I switch the toggle and reload the page, nothing seems to change. I have used this feature on another site and I have checked to make sure that the settings are all the same. So I am not sure why it’s not working.
Please could you kindly assist.
Thank you.
Hey Paul,
Thank you for the inquiry.
It is working properly on our end, the Open Sans font does not load when we disable the privacy toggle for Google Fonts. Make sure to accept the cookies first before toggling the privacy button because the essential cookies have to exist first before you could manually disable or enable external scripts or services such as the Google Fonts.
Best regards,
Ismael
Hi Ismael,
Thanks for your reply.
I think I see what the issue is now. I was referring to the heading font which is PT Sans Narrow. This Google font does not come natively installed with Enfold so I had to add it manually via a font .zip file import. So this font is not actually being queried from the Google Fonts API but being loaded now via the theme. So the privacy toggle would not affect this :)
So all good. Thanks for your help.
You can close this thread :)
Hi,
If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon