Hi,
in Europe, a new data protection regulation applies. Following question:
Can I get instructions for my various pages built with joomla 51 templates, how to integrate googe fonts via your own server?
Many thanks.
Silvia
google fonts - eu dsgvo
- Issue
- silvias1963
-
- Commercial Templates
- Friday, 11 May 2018
- Subscribe via email
Hello
I don’t think GDPR will be an issue with Google, as their data privacy compliance is quite impressive.
For further details may I suggest the following...
https://cloud.google.com/security/gdpr/
Regardless to load Google fonts from your local server firstly disable them from been loaded from the CDN by removing the following from your templates head.php (../templates/[YourTemplate]/inc/head.php)...
You can then use a tool like https://google-webfonts-helper.herokuapp.com/fonts to obtain a local copy of your Google font along with the CSS needed to load it. CSS can be added to the Custom CSS field of your template settings.
Ciarán
I don’t think GDPR will be an issue with Google, as their data privacy compliance is quite impressive.
For further details may I suggest the following...
https://cloud.google.com/security/gdpr/
Regardless to load Google fonts from your local server firstly disable them from been loaded from the CDN by removing the following from your templates head.php (../templates/[YourTemplate]/inc/head.php)...
foreach ($googlefonts as $v) { // loop
echo '<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family='.$v.':400,700,900&subset='.$font_subset.'" /> ';
}
You can then use a tool like https://google-webfonts-helper.herokuapp.com/fonts to obtain a local copy of your Google font along with the CSS needed to load it. CSS can be added to the Custom CSS field of your template settings.
Ciarán
- more than a month ago
- Commercial Templates
- # 1
Hello
CSS can be added to the Custom CSS field of your template settings. You will find this field in the Custom CSS tab.
CIarán
CSS can be added to the Custom CSS field of your template settings. You will find this field in the Custom CSS tab.
CIarán
- more than a month ago
- Commercial Templates
- # 3
Hi,
I can not find this path "head.php (../templates/j51_ashley/inc/head.php)" in ashley. For me it looks like this.
Silvia
I can not find this path "head.php (../templates/j51_ashley/inc/head.php)" in ashley. For me it looks like this.
Silvia
- more than a month ago
- Commercial Templates
- # 5
Thank you
The same line can be found in the Ashley template in the ../templates/j51_ashley/php/styles.php file (line 25 - 27).
Ciarán
The same line can be found in the Ashley template in the ../templates/j51_ashley/php/styles.php file (line 25 - 27).
Ciarán
- more than a month ago
- Commercial Templates
- # 8
May I ask you where I can find the code in the j51-oxygen template? Thank you very much!
- more than a month ago
- Commercial Templates
- # 10
Hello
For the Oxygen template to completely remove Google font you will need to remove all of the following from your templates styles.php (../templates/j51_oxygen/php/styles.php)..
Line 13 - 53
Ciarán
For the Oxygen template to completely remove Google font you will need to remove all of the following from your templates styles.php (../templates/j51_oxygen/php/styles.php)..
Line 13 - 53
<?php /*?>Set Google font choices to body, articleheads, moduleheads and hornav menu<?php */?>
<?php if(($body_fontstyle == "Arial") || ($body_fontstyle == "Courier") || ($body_fontstyle == "Tahoma") || ($body_fontstyle == "Garamond") || ($body_fontstyle == "Georgia") || ($body_fontstyle == "Impact") || ($body_fontstyle == "Lucida Console") || ($body_fontstyle == "Lucida Sans Unicode") || ($body_fontstyle == "MS Sans Serif") || ($body_fontstyle == "MS Serif") || ($body_fontstyle == "Palatino Linotype") || ($body_fontstyle == "Tahoma") || ($body_fontstyle == "Times New Roman") || ($body_fontstyle == "Trebuchet MS") || ($body_fontstyle == "Verdana") || ($body_fontstyle == "Webdings")) : ?>
<style type="text/css">body{font-family:<?php echo ($body_fontstyle); ?> }</style>
<?php elseif(($body_fontstyle != "Arial") || ($body_fontstyle != "Verdana") || ($body_fontstyle != "Tahoma") || ($body_fontstyle != "Century Gothic")) : ?>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=<?php echo $body_fontstyle ?>" />
<style type="text/css">body{font-family:<?php echo ($body_fontstyle); ?> }</style>
<?php endif; ?>
<?php if(($articlehead_fontstyle == "Arial") || ($articlehead_fontstyle == "Courier") || ($articlehead_fontstyle == "Tahoma") || ($articlehead_fontstyle == "Garamond") || ($articlehead_fontstyle == "Georgia") || ($articlehead_fontstyle == "Impact") || ($articlehead_fontstyle == "Lucida Console") || ($articlehead_fontstyle == "Lucida Sans Unicode") || ($articlehead_fontstyle == "MS Sans Serif") || ($articlehead_fontstyle == "MS Serif") || ($articlehead_fontstyle == "Palatino Linotype") || ($articlehead_fontstyle == "Tahoma") || ($articlehead_fontstyle == "Times New Roman") || ($articlehead_fontstyle == "Trebuchet MS") || ($articlehead_fontstyle == "Verdana")) : ?>
<style type="text/css">h2{font-family:<?php echo ($articlehead_fontstyle); ?> }</style>
<?php elseif(($articlehead_fontstyle != "Arial") || ($articlehead_fontstyle != "Verdana") || ($articlehead_fontstyle != "Tahoma") || ($articlehead_fontstyle != "Century Gothic")) : ?>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=<?php echo $articlehead_fontstyle ?>" />
<style type="text/css">h2{font-family:<?php echo ($articlehead_fontstyle); ?> }</style>
<?php endif; ?>
<?php if(($modulehead_fontstyle == "Arial") || ($modulehead_fontstyle == "Courier") || ($modulehead_fontstyle == "Tahoma") || ($modulehead_fontstyle == "Garamond") || ($modulehead_fontstyle == "Georgia") || ($modulehead_fontstyle == "Impact") || ($modulehead_fontstyle == "Lucida Console") || ($modulehead_fontstyle == "Lucida Sans Unicode") || ($modulehead_fontstyle == "MS Sans Serif") || ($modulehead_fontstyle == "MS Serif") || ($modulehead_fontstyle == "Palatino Linotype") || ($modulehead_fontstyle == "Tahoma") || ($modulehead_fontstyle == "Times New Roman") || ($modulehead_fontstyle == "Trebuchet MS") || ($modulehead_fontstyle == "Verdana")) : ?>
<style type="text/css">.module h3, .module_menu h3{font-family:<?php echo ($modulehead_fontstyle); ?> }</style>
<?php elseif(($modulehead_fontstyle != "Arial") || ($modulehead_fontstyle != "Verdana") || ($modulehead_fontstyle != "Tahoma") || ($modulehead_fontstyle != "Century Gothic")) : ?>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=<?php echo $modulehead_fontstyle ?>" />
<style type="text/css">.module h3, .module_menu h3{font-family:<?php echo ($modulehead_fontstyle); ?> }</style>
<?php endif; ?>
<?php if(($hornav_fontstyle == "Arial") || ($hornav_fontstyle == "Courier") || ($hornav_fontstyle == "Tahoma") || ($hornav_fontstyle == "Garamond") || ($hornav_fontstyle == "Georgia") || ($hornav_fontstyle == "Impact") || ($hornav_fontstyle == "Lucida Console") || ($hornav_fontstyle == "Lucida Sans Unicode") || ($hornav_fontstyle == "MS Sans Serif") || ($hornav_fontstyle == "MS Serif") || ($hornav_fontstyle == "Palatino Linotype") || ($hornav_fontstyle == "Tahoma") || ($hornav_fontstyle == "Times New Roman") || ($hornav_fontstyle == "Trebuchet MS") || ($hornav_fontstyle == "Verdana")) : ?>
<style type="text/css">#hornav{font-family:<?php echo ($hornav_fontstyle); ?> }</style>
<?php elseif(($hornav_fontstyle != "Arial") || ($hornav_fontstyle != "Verdana") || ($hornav_fontstyle != "Tahoma") || ($hornav_fontstyle != "Century Gothic")) : ?>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=<?php echo $hornav_fontstyle ?>" />
<style type="text/css">#hornav{font-family:<?php echo ($hornav_fontstyle); ?> }</style>
<?php endif; ?>
<?php if(($logo_fontstyle == "Arial") || ($logo_fontstyle == "Courier") || ($logo_fontstyle == "Tahoma") || ($logo_fontstyle == "Garamond") || ($logo_fontstyle == "Georgia") || ($logo_fontstyle == "Impact") || ($logo_fontstyle == "Lucida Console") || ($logo_fontstyle == "Lucida Sans Unicode") || ($logo_fontstyle == "MS Sans Serif") || ($logo_fontstyle == "MS Serif") || ($logo_fontstyle == "Palatino Linotype") || ($logo_fontstyle == "Tahoma") || ($logo_fontstyle == "Times New Roman") || ($logo_fontstyle == "Trebuchet MS") || ($logo_fontstyle == "Verdana")) : ?>
<style type="text/css">h1.logo-text a{font-family:<?php echo ($logo_fontstyle); ?> }</style>
<?php elseif(($logo_fontstyle != "Arial") || ($logo_fontstyle != "Verdana") || ($logo_fontstyle != "Tahoma") || ($logo_fontstyle != "Century Gothic")) : ?>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=<?php echo $logo_fontstyle ?>" />
<style type="text/css">h1.logo-text a{font-family:<?php echo ($logo_fontstyle); ?> }</style>
<?php endif; ?>
<?php /*?>End Set Google font choices to body, articleheads, moduleheads and hornav menu<?php */?>
Ciarán
- more than a month ago
- Commercial Templates
- # 11
Hallo,
in which line in the templates
templates / j51_nadja / php / styles.php can I disable the google fonts, remove them
in which line in the templates
templates / j51_nadja / php / styles.php can I disable the google fonts, remove them
- more than a month ago
- Commercial Templates
- # 12
Hello
You can remove the following (line 26 - 28)...
Ciarán
You can remove the following (line 26 - 28)...
foreach ($googlefonts as $v) {
echo '<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family='.$v.':300,400,700&subset='.$font_subset.'" /> ';
}
Ciarán
- more than a month ago
- Commercial Templates
- # 13
Thank you
The same line can be found in the Ashley template in the ../templates/j51_ashley/php/styles.php file (line 25 - 27).
Ciarán
Hi Ciarán,
maybe I have an older version of the asley template ... but in m styles.php there are no such lines ....
the googlefonts link is still in my source code ....
https://baggerbetrieb-filser.de/
can you help me?
michael
- more than a month ago
- Commercial Templates
- # 14
Hi Michael
May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will make this amendment for you. For our reference please paste a link to this post in your email.
Ciarán
May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will make this amendment for you. For our reference please paste a link to this post in your email.
Ciarán
- more than a month ago
- Commercial Templates
- # 15
Thank you Michael
The Google font code appears to have been already removed.
Ciarán
hmmm ... but why do I still see one line ith the googlefonts link in the source code?
- more than a month ago
- Commercial Templates
- # 17
Hi,
and I have one site withe the "j51_habitat" Template - how can I remove trhe google fonts there?
There is also this line in the source code:
<link href="http://fonts.googleapis.com/css?family=Oswald" rel="stylesheet" type="text/css" media="all" />
I don't find that Oswald font anywehere?!
Michael
and I have one site withe the "j51_habitat" Template - how can I remove trhe google fonts there?
There is also this line in the source code:
<link href="http://fonts.googleapis.com/css?family=Oswald" rel="stylesheet" type="text/css" media="all" />
I don't find that Oswald font anywehere?!
Michael
- more than a month ago
- Commercial Templates
- # 18
Hi Michael
On which menu item is this as it does not appear to be on your homepage? Is there any other extension that may be loading the Google font?
Note that if you simply want to stop all Google font calls, one option is to simply ensure only 'websafe' fonts are selected in your template setting (including logo font). This will also work for your Habitat template.
Ciarán
On which menu item is this as it does not appear to be on your homepage? Is there any other extension that may be loading the Google font?
Note that if you simply want to stop all Google font calls, one option is to simply ensure only 'websafe' fonts are selected in your template setting (including logo font). This will also work for your Habitat template.
Ciarán
- more than a month ago
- Commercial Templates
- # 19
Hi, Ciaran!
I still have a problem with the google fonts. At the template Ashley I could cut the connection to google. Look here: https://hofffnungskirche-herten.de
The template serenity does not work, when I comment out the line with the googlefont-link, the page is no longer reachable.
Can you help me? https://xn--elkemlle-r4a.de/
Regards, Silvia
PS: unfortunately, there have been warnings about the google fonts and the new data protection law.
I still have a problem with the google fonts. At the template Ashley I could cut the connection to google. Look here: https://hofffnungskirche-herten.de
The template serenity does not work, when I comment out the line with the googlefont-link, the page is no longer reachable.
Can you help me? https://xn--elkemlle-r4a.de/
Regards, Silvia
PS: unfortunately, there have been warnings about the google fonts and the new data protection law.
- more than a month ago
- Commercial Templates
- # 20
- Page :
- 1
- 2
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »