End of Support for Joomla 3 - Forum closed

template style.css remove loading fonts.googleapi

  • kuschel
  • kuschel's Avatar Offline Topic Author
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0

template style.css remove loading fonts.googleapi was created by kuschel

Posted 1 year 8 months ago #30890
Hello,
i want to host google fonts local. i know there a a lot of posts
i did everything on documentation here

local Google font open sans
css changes
changed the font in customiser to arial
compiled less, so there is no opensans any more

but there is still the load of @import ' fonts.googleapis.com/css?family=Open+Sans:400,300 '; in the style.less
How can i remove it?

The site ist www.geiger-automation.de

If i do it by editor, it is gone by the next compile less.

I also saw the documentation of changing font in Astroid Plugin. BUt i dont have this. is it possible to update templates without problems? i only used customiser and custom.css

Thank you very much for a fast help.
by kuschel

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic template style.css remove loading fonts.googleapi

Posted 1 year 8 months ago #30891
Hallo, sie haben ein Warp template.
1. Warp templates laufen ende des jahres aus. Kein Support für php 8 und Joomla 4
2. Die font setting sind bei warp anders. Bitte Forum suche benutzen

Please Log in or Create an account to join the conversation.

  • kuschel
  • kuschel's Avatar Offline Topic Author
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0

Replied by kuschel on topic template style.css remove loading fonts.googleapi

Posted 1 year 8 months ago #30895
Hallo,

also gut. Ich habe ein warp-Template und muss trotzdem die google fonts lokal hosten, sonst werde ich abgemahnt. In den Foren finde ich hierzu aber nichts. Deshalb habe ich mich an die VOrgehensweise bei yootheme gehalten. Es funktioniert aber nicht, da in der style datei immer noch dieser Import vom font drin ist, obwohl er nicht mehr verwendet wird. Können Sie mir helfen?

Vielen herzlichen Dank.
by kuschel

Please Log in or Create an account to join the conversation.

Replied by Administrator on topic template style.css remove loading fonts.googleapi

Posted 1 year 8 months ago #30896
Vielleicht ist diese Plugin hilfreich:

github.com/joomtools/plg_system_jtaldef
JP-Admin
Joomla-Meister im forum.joomla.de
Last Edit:1 year 8 months ago by Administrator
Last edit: 1 year 8 months ago by Administrator. Reason: Typo

Please Log in or Create an account to join the conversation.

  • kuschel
  • kuschel's Avatar Offline Topic Author
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0

Replied by kuschel on topic template style.css remove loading fonts.googleapi

Posted 1 year 7 months ago #31031
Hello,

thank you for your help.

So i tried the plugin. sometimes it works and sometimes not

i see that he puts many css files in media/plg_system_jtaldef/index/css , but the template does not use these css. The fonts are there also.

in the sites where it is working he also makes a css file for example with: templates-jp-adventures-css-custom.css
then the templates uses the css file from jtaldef

Do you know why this is like this. I tried many jp-Templates.

for example:

/* Source Sans Pro (latin) */
@font-face {
font-family: 'Source Sans Pro';
font-weight: 300;
font-style: normal;
src: url(/media/plg_system_jtaldef/index/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdu.woff2) format('woff2'), url(/media/plg_system_jtaldef/index/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdo.woff) format('woff');
font-display: swap;
}
@font-face {
font-family: 'Source Sans Pro';
font-weight: 300;
font-style: italic;
src: url(/media/plg_system_jtaldef/index/fonts/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkids18Q.woff2) format('woff2'), url(/media/plg_system_jtaldef/index/fonts/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkids18I.woff) format('woff');
font-display: swap;
}
@font-face {
font-family: 'Source Sans Pro';
font-weight: 400;
font-style: normal;
src: url(/media/plg_system_jtaldef/index/fonts/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7l.woff2) format('woff2'), url(/media/plg_system_jtaldef/index/fonts/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7j.woff) format('woff');
font-display: swap;
}
@font-face {
font-family: 'Source Sans Pro';
font-weight: 400;
font-style: italic;
src: url(/media/plg_system_jtaldef/index/fonts/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7nsDI.woff2) format('woff2'), url(/media/plg_system_jtaldef/index/fonts/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7nsDQ.woff) format('woff');
font-display: swap;
}
@font-face {
font-family: 'Source Sans Pro';
font-weight: 700;
font-style: normal;
src: url(/media/plg_system_jtaldef/index/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdu.woff2) format('woff2'), url(/media/plg_system_jtaldef/index/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdo.woff) format('woff');
font-display: swap;
}
@font-face {
font-family: 'Source Sans Pro';
font-weight: 700;
font-style: italic;
src: url(/media/plg_system_jtaldef/index/fonts/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSds18Q.woff2) format('woff2'), url(/media/plg_system_jtaldef/index/fonts/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSds18I.woff) format('woff');
font-display: swap;
}
@font-face {
font-family: 'Source Sans Pro';
font-weight: 900;
font-style: normal;
src: url(/media/plg_system_jtaldef/index/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwlxdu.woff2) format('woff2'), url(/media/plg_system_jtaldef/index/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwlxdo.woff) format('woff');
font-display: swap;
}
@font-face {
font-family: 'Source Sans Pro';
font-weight: 900;
font-style: italic;
src: url(/media/plg_system_jtaldef/index/fonts/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZklyds18Q.woff2) format('woff2'), url(/media/plg_system_jtaldef/index/fonts/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZklyds18I.woff) format('woff');
font-display: swap;
}
by kuschel

Please Log in or Create an account to join the conversation.

Replied by WM-Loose on topic template style.css remove loading fonts.googleapi

Posted 1 year 7 months ago #31032
Please write here in German.
Otherwise there is also a category for questions in English in the forum.

Das Plugin sollte in der Reihenfolge zuletzt geladen werden.
Bisher hat es für Joomla Schriftarten immer zuverlässig funktioniert. Lediglich bei Erweiterungen, die Schriften unter anderem mit Iframe in die Webseite einbetten, kann es auch nicht funktionieren.

Wie schon geschrieben, kannst du auch das Astroid Framework mit den neuen TP-Templates verwenden und die Schriftarten dann lokal einbinden.

Ansonsten halt manuell mit dieser Anleitung:
google-webfonts-helper.herokuapp.com/fon...atisfy?subsets=latin
Kind regards,
Dirk
Joomlaplates Admin
Joomla-Master in forum.joomla.de/

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2022 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License