1. silvias1963
  2. Commercial Templates
  3. Friday, 11 May 2018
  4.  Subscribe via email
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
ciaran Accepted Answer Pending Moderation
0
Votes
Undo
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)...

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
silvias1963 Accepted Answer Pending Moderation
0
Votes
Undo
Thanks!
in which css-file do I have to enter the code?

LG, Silvia
ciaran Accepted Answer Pending Moderation
0
Votes
Undo
Hello

CSS can be added to the Custom CSS field of your template settings. You will find this field in the Custom CSS tab.

Screenshot-2018-5-14.png

CIarán
Attachments (1)
silvias1963 Accepted Answer Pending Moderation
0
Votes
Undo
:D Thanks!
silvias1963 Accepted Answer Pending Moderation
0
Votes
Undo
Hi,
I can not find this path "head.php (../templates/j51_ashley/inc/head.php)" in ashley. For me it looks like this.

:o
Silvia
Attachments (1)
ciaran Accepted Answer Pending Moderation
0
Votes
Undo
Hello

May I ask which template are you using?

Ciarán
silvias1963 Accepted Answer Pending Moderation
0
Votes
Undo
Hi,
i use "Ashley".
LG, Silvia
ciaran Accepted Answer Pending Moderation
0
Votes
Undo
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
silvias1963 Accepted Answer Pending Moderation
0
Votes
Undo
Danke!!! :D
MaZe01 Accepted Answer Pending Moderation
0
Votes
Undo
May I ask you where I can find the code in the j51-oxygen template? Thank you very much!
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Join Our Newsletter




We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.