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!