-
AuthorPosts
-
June 26, 2019 at 1:33 am #1113411
Hello,
how can I find out whether my website is (still) using GoogleFonts?
I use a GoogleFont which I’ve uploaded locally through the Enfold-option. Now I’ve made made a change in the function.php according to a topic here. I would like to find out if it works.
I’m concerned about the GDPR and like to be sure that no connection is made to Google server. I’ve read that some plugins might use GoogleFonts.Thank you,
NiklasJune 26, 2019 at 4:49 am #1113452Hey Niklas,
You can use GoogleFonts by adding the scripting within the header.php file.
Best regards,
Jordan ShannonJune 26, 2019 at 11:10 am #1113565Hi Jordan,
which scripting exactly?
My approach is to disable any connection from my site to the GoogleFonts-server. How am I to do that?
This whole GDPR-business is confusing, sorry!Best regards,
NiklasJune 27, 2019 at 3:00 am #1113749June 28, 2019 at 5:24 pm #1114309Hello,
Thank you. For my understanding: if I have uploaded the GoogleFont via the Custom Font Manager in Enfold, do I have to add anything to the Stylesheet style.css?
Best regards,
Niklas- This reply was modified 5 years, 4 months ago by fairerocknroll.
June 28, 2019 at 11:46 pm #1114371Hi,
Do you want to add or remove Google Fonts? I’m not sure what you are asking.
Best regards,
Jordan ShannonJune 29, 2019 at 11:56 am #1114413Hi,
I want to load GoogleFonts locally so that no connections are made to the Google server. I’ve read the thread you’ve sent me. It’s confusing because there are posts before the GDPR was active and some after the GDPR was active, and there are a lot of suggestions and it’s not clear to me which is correct and which not. So what I’ve done is, I’ve uploaded the font I use locally via the Enfold Custom Font Manager. Nevertheless, there are still connections to the Google servers being made. There is the Roboto font loaded and the Cabin font loaded. I want to find out, why this is happening.
There are two YouTube-videos embedded on the page, maybe this is the reason for the Roboto font?! I don’t know where the Cabin font might come from. So what am I to do? Is it enough to upload the Roboto and Cabin font also locally? But then, how to make sure, they load locally and the connection to the google server are surpressed?Best regards,
NiklasJune 29, 2019 at 7:24 pm #1114482Hi Niklas
I want to load GoogleFonts locally so that no connections are made to the Google server.
My reply in this thread will help you I guess. I explained it step by step there.
But then, how to make sure, they load locally and the connection to the google server are surpressed?
1) If you are using Firefox for example -> Go to your website, right click, choose “Element untersuchen” (inspect element).
2) Switch to the tab “Netzwerk” at the bottom and reload the page.
3) You will see all connections that are made when you page is loaded. On top of it, there is a small field called “URLs filtern” or similar.
4) Type in fonts.googleapis.com to check whether Google Fonts are loaded via a Google server or not. If you don’t see any URLs after your search, your Google fonts load locally (which is great concerning GDPR).Let me know if you have any questions.
Cheers
MichaelJune 30, 2019 at 4:37 pm #1114603Hi Micheal,
thank you for your help. It is still not working (I don’t know, what I am missing).
When I go to “Untersuchen”, I find the entry fonts.googleapsis.com/css?family=questrial and a bit further down fonts.googlestatic.com/s/roboto/….1. I go to Google Web Fonts Helper, I download Questrial and Roboto Font.
2. I unzip the downloaded files.
3. I create a directory in my “Enfold Child Theme”-root-directory (FTP). I call it fonts and move the unzipped files into it.
4. I create a fonts.css and add the @font-face arguments given by Google Web Fonts Helper. Then I put that fonts.css into the root-directory of my “Enfold Child Theme”-root-directory.
5. I copy the header.php from my “Enfold”-directory into my “Enfold Child Theme”-directory. I edit that header.php in my Child-Theme-directory by adding <link rel=”stylesheet” type=”text/css” href=”/fonts.css”> between <head></head>
6. I flush the cache and I still see the entries fonts.googleapsis.com/css?family=questrial and a bit further down fonts.googlestatic.com/s/roboto/.What am I missing?
(In my website-layout there is no header, but a sidebar. That has nothing to do with the above, right?)Thank you for your time,
NiklasJune 30, 2019 at 6:27 pm #1114646Hi Niklas,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaJuly 3, 2019 at 2:17 am #1115310Hi Victoria,
sure. I’ve attached the details in private.
Thank you,
NiklasJuly 3, 2019 at 8:46 pm #1115574Hi Niklas,
Credentials did not work for me. Could you please update the credentials?
Best regards,
VictoriaJuly 4, 2019 at 2:21 am #1115611Hi Victoria,
You find the correct credentials below.
Thank you,
NiklasJuly 4, 2019 at 8:42 pm #1115895Hi Niklas,
I don’t see the code from here
https://kriesi.at/support/topic/disable-google-font-loading-via-google/
added in the functions.php.Also, you have the header.php in your child theme, is it from the latest version?
Best regards,
VictoriaJuly 5, 2019 at 11:32 am #1116016Hi Victoria,
Now, I’ve added this code from the thread you mention to the functions.php:
add_filter( 'avf_output_google_webfonts_script', 'my_output_google_webfonts_script', 10, 1 ); function my_output_google_webfonts_script( $activate ) { return false; }
It seems as if the Questrial-font doesn’t load anymore.
There is still the Cabin font being loaded here: https://one-bound-beyond.org/vision/
and the Roboto font being loaded here: https://one-bound-beyond.org/video/I guess the Thrive Leads popup is responsible for the Cabin font and the YouTube video is responsible for the Roboto font. Is there something I can do about this?
The header.php should be from the latest version because I’ve just moved it there a few days ago.
Best regards,
NiklasJuly 7, 2019 at 11:16 am #1116420Hi Niklas,
Yes, some plugins are loading fonts too. You might want to check the plugins docs and settings.
Best regards,
VictoriaJuly 7, 2019 at 12:51 pm #1116436Hello Victoria,
when I go to the “Sources” tab, these entries are shown. That doesn’t mean that there are connections made to the Google servers?
Best regards,
NiklasJuly 9, 2019 at 3:05 pm #1117077Hi,
I don’t think you should be worrying yourself about these details. All you need to do is explicitly state in your privacy policy page or consent form that by continuing to use the site, they (the users) are giving you (owner of the site) consent to connect to services provided by Google such as Youtube and with it all the resources (fonts, images etc) required to run the application. If that is not enough, try to lazy load your videos so they won’t display without user interaction.
Best regards,
IsmaelJuly 11, 2019 at 3:12 pm #1117821Hello Ismael,
alright. Thank you. This thread can be closed then.
Best regards,
NiklasJuly 12, 2019 at 5:51 am #1117930 -
AuthorPosts
- The topic ‘Does the website use GoogleFonts’ is closed to new replies.