Google Fonts - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

Google Fonts

thank you

thank you

General 3 years ago

hey Joomshaper Team,

Its not longer allowed to use google fonts without visitor consent (since 20.01.2022, LG München)

My question to host them on my server is:

Do you know in which *.php-file this code is what I mean is: I need the file, where the code is to use googleapis (your code can be very similar to that code here...) I didnt find it....

foreach ($googlefonts as $v) { // loop $app->getDocument()->addStyleSheet('//http://fonts.googleapis.com/css?family=' . $v . ':' . $fontweights . '&&subset=' . $fontsubset . '&display=swap'); }

thanks a lot, claudia

0
5 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #57607

Hi Claudia,

  1. thanks, I know this for almost 2 weeks, that's why I created this info: https://www.joomshaper.com/documentation/sp-page-builder/sp-page-builder-3/google-fonts-and-dsgvo

  2. About files that you may have to edit, if you really need to, check those

foto_7822_2022.png

  1. I also asked our developers to add On/Off for Google Fonts, mostly for EU webmasters
0
thank you
thank you
Accepted Answer
3 years ago #57614

thanks Paul

So I do not have to delete this Code? ( I want to be sure, because I know the font can be in every single chapter....) ah I see your files thanks

Would be soooooo thankful if youre Webmaster gonna hear us (or you for the moment)

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #57634

If you don't want manually disable font in each addon and page, component code customization may save your time.

Yes, I can imagine why German webmasters are so scary now. Madness.

0
thank you
thank you
Accepted Answer
3 years ago #57636

Dear Paul,

I didn' get that: component code customization which code would it be? Maybe you can help me once more with a tip?

The next big bang will be this "font awesome" thing... because it needs the IP Adress too

thanks claudia

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #57645

But font awesome files are loaded locally from your site server, not from US servers.

Sorry, but php customization is on your hands only. Just open those files in editor and search phrase "fonts.googleapis.com" and make some cuts.

0