1. webbie
  2. Sherlock Holmes
  3. Commercial Templates
  4. Tuesday, 28 April 2020
  5.  Subscribe via email
Hello, i want to deactivate Googlefonts in the Template Chloe and install it local.
How to to that? I loaded the fonts already into the "fonts" file and put the following css in the nexus.css:

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

/* playfair-display-regular - latin */
@font-face {
font-family: 'Playfair Display';
font-style: normal;
font-weight: 400;
src: url('fonts/playfair-display-v20-latin-regular.eot'); /* IE9 Compat Modes */
src: local(''),
url('fonts/playfair-display-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('fonts/playfair-display-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('fonts/playfair-display-v20-latin-regular.woff') format('woff'), /* Modern Browsers */
url('fonts/playfair-display-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('fonts/playfair-display-v20-latin-regular.svg#PlayfairDisplay') format('svg'); /* Legacy iOS */
}


Also i deactivated then google-fonts in the file inc/fonts

But it doesnt work.

Do you have any Idear?

The site is under http://www.eigenelösungenfinden.de/joomla3

Thanks fpr your help!
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Your website appears to be throwing the following error...

downloadable font: download failed (font-family: "Playfair Display" style:normal weight:400 stretch:100 src index:4): status=2147746065 source: http://www.xn--eigenelsungenfinden-w6b.de/joomla3/templates/j51_chloe/css/fonts/playfair-display-v20-latin-regular.ttf


Can you confirm that you have added the font to the correct folder (../templates/j51_chloe/css/fonts/)?

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
No i loaded it into (../templates/j51_chloe/fonts) was that wrong?
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

The imports in your CSS are relative to your CSS file. Using this CSS place your fonts in the folder ../templates/j51_chloe/css/fonts/

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
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.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok