Google Fonts, GDPR And Page Builder Add Ons - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Google Fonts, GDPR And Page Builder Add Ons

BB

Bertil Braun

SP Page Builder 3 years ago

Hello, I have the following problem:

in the EU the data protection GDPR has become very strict and no fonts are allowed to be linked to Google anymore. May be well-intentioned but to the misfortune of web designers

I have therefore switched off all fonts in the template, then moved the fonts locally to the server and linked them to the custom.css. Everything worked wonderfully.

I create the website for clients who are not always familiar with such things. They then work freely with the SP Pagebuilder. I assume that they also select fonts in the Page Builder via the font-family dropdown in the individual add ons. As soon as you do that, a Goolge-linked font is on board again with one click.

You can see it in the source code generated by the frontend-pages ( //fonts.googleapis.com ... ).

Is it possible to completely disable Google Fonts for Page Builder as well, so there's no risk of someone accidentally selecting them?

Again, I would like to access only the local fonts. Possibly with a relative path? Can you please give me a tip?

Thank you for your help and greetings from Germany :)

0
14 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #58251

I cannot help you with php code customziation, sorry. Support Policy.

By now remove used fonts from Font-Family in addons and tell website editor to not use Google Fonts.


UPDATE >> SPPB 3.8.5 we added Google Fonts ON/OFF in Options

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

Hi,

it's not possible from SPPB Options, but I will ask our developer again.

By now you can try to cut off from the SPPB code, but update will recover it :(

Anyway, edit those files:

foto_7783_2022.png


Yes, I also read German court decision from January about Google Fonts. That's why I added this: https://www.joomshaper.com/documentation/sp-page-builder/sp-page-builder-3/google-fonts-and-dsgvo

0
BB
Bertil Braun
Accepted Answer
3 years ago #57944

Hello, many thanks for your quick answer :)

Yes, for us Europeans it would be good in the long run if there were the option "Include fonts locally" in the standard.

But your solution is already a first help for me: I create the Joomla updates manually and then have to write down on my note to cut the link.

I'll try that out.

Thanks for the initial help.

You are doing a really good job, I have liked you in Google. Thank you very much.

0
BB
Bertil Braun
Accepted Answer
3 years ago #57946

Hello I think the directories have changed

Under "components" I find: com_pagebuilder2 This directory is empty.

Under "administrator/components" I also find com_pagebuilder2. But there are other files in it.

Can you please find me the new places where I can cut the fonts?

Thank you very much.

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

"com_pagebuilder2" - we don't have such a folder name, probably you renamed it few months ago, and forget.

we have and use only "com_pagebuilder" check again my screenshot (!) this is from current version.

0
S
Schwyzer
Accepted Answer
3 years ago #57950

Hi, in this case....my question: My customer need his own font - PT Sans Now I uesed this code in the custom css...

/ pt-sans-regular - latin / @font-face { font-family: 'PT Sans'; font-style: normal; font-weight: 400; src: url('../fonts/pt-sans-v16-latin-regular.eot'); / IE9 Compat Modes / src: local(''), url('../fonts/pt-sans-v16-latin-regular.eot?#iefix') format('embedded-opentype'), / IE6-IE8 / url('../fonts/pt-sans-v16-latin-regular.woff2') format('woff2'), / Super Modern Browsers / url('../fonts/pt-sans-v16-latin-regular.woff') format('woff'), / Modern Browsers / url('../fonts/pt-sans-v16-latin-regular.ttf') format('truetype'), / Safari, Android, iOS / url('../fonts/pt-sans-v16-latin-regular.svg#PTSans') format('svg'); / Legacy iOS / }

.sppb-addon-title { font-family: "PT Sans";}

Is this now correct for Google or do I need also an API-Key?

Its quite difficult to understand all those things...

Thanks for your help.

Maggie

0
BB
Bertil Braun
Accepted Answer
3 years ago #57951

Hi Paul,

my mistake, I was accidentally FTPing in an older Joomla installation, I found the files.

Sorry for the confusion.

0
BB
Bertil Braun
Accepted Answer
3 years ago #57954

Hi Maggie,

Paul can certainly tell you something about this. For example, I have always worked with existing fonts in the template, but then pulled them down from this link: https://google-webfonts-helper.herokuapp.com/fonts and embedded and linked them locally on the web server. Then I cut the connection to Google.

I'm currently trying to figure out how to do this in Pagebuilder :)

Many greetings

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

You don't need Google API to use Google Font file, if was downloaded and used from your hosting. It's fully legal and Dsgvo law correct.

0
S
Schwyzer
Accepted Answer
3 years ago #57956

ok....thanks for your answer......

0
BB
Bertil Braun
Accepted Answer
3 years ago #58244

Hello Paul,

We have tried to cut the connection between the Page Builder and the Google Font Server using the 3 files you mentioned above. With the template it was no problem before (as already written).

Unfortunately, this did not work in the Page Builder. Maybe we did something wrong? Can you please post a code example in the forum? The result should be that the fonts are no longer selectable in the font dropdown (e.g. in the Text Blog Addon).

Of course, it would be cool if the locally linked fonts in the template were selectable in the dropdowns instead... but that doesn't necessarily have to be the case. It would be quite sufficient if the connection to Google in the Page Builder could be cut to Goolge fonts. That would be a safe solution.

Many thanks for your help :)

0
BB
Bertil Braun
Accepted Answer
3 years ago #58292

Hi Paul, sorry I did not know that.

Yes no problem, I talk to the website editors.

It would be perfect if this would be really realized. With GDPR it's really not funny anymore :) Otherwise I would not "insist" ;) Thanks for asking SEO and for being willing to implement this!

And thanks for the quick responses. Many greetings from Germany

0
BB
Bertil Braun
Accepted Answer
3 years ago #60175

Hi Paul, thank you very much for including Turn off Google Fonts in the new release :) This is really very good.

But there seems to be one more bug: i have added page builder in the articles and don't use that directly in the page builder component. Since after the update the add ons text blog and button are not shown anymore. Can you please look for it.

Thanks a lot and have a nice weekend !

0
BB
Bertil Braun
Accepted Answer
3 years ago #61757

Hi Paul, many thanks for the quick implementation, also on behalf of my customers. With the new update, everything runs perfectly in the articles as well. You have a great customer service :)

0