Webfont einbinden

Hallo,

es gibt ja schon 2-3 tolle Beschreibungen zum Thema einbindung von Webfonts. Bei mir hat es eine lange Zeit auch gut geklappt. ich habe es damals mal hinbekommen. Nun musste ich mein Template neu einspielen (Danke hier an Shopster) und meine Einstellung sind futsch. Ich bekomme es nun nicht mehr hin. Habe ein Font bei Myfonts gekauft.

 

Folgendes habe ich unternommen:

  1. Upload in frontend/_public/src/fonts (dort liegen die Schriften in ttf und otf (Habe es in den Ordner vom gekauften Template geschoben)

  2. Template Einstellung Typographie „Open Sans“ rausgeschmissen und „Manus“ hinzugefügt 

  3. Template Einstellung den Link @import (css) url("//hello.myfonts.net/count/xxxxx"); hinzugefügt

Ich bilde mir ein dass ich damals auch nicht mehr gemacht hab. 

Ich habe sogar versucht den Inhalt aus dem gesamten MyFontsWebfontskit.css in die Template Einstellung zu kopieren. Auch das hat nicht geklappt.

@font-face {font-family: ‚Manus‘;src: url…(usw)

Kann mir da mal jemand auf die Sprünge helfen?

Gruß Kaddi

Ist die URL von außen erreichbar so, dass man sich das anschauen kann?

ja, schau mal auf www.bildmania.de

Bei http://hello.myfonts.net/count/34d896 kommt aber nichts.

@NextMike schrieb:

Bei http://hello.myfonts.net/count/34d896 kommt aber nichts.

Das ist komisch:

@import url(„//hello.myfonts.net/count/34d896“); ist der Verweis aus der MyFontsWebfontsKit.css

/**
 * @license
 * MyFonts Webfont Build ID 3463318, 2017-10-12T12:58:37-0400
 * 
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are 
 * explicitly restricted from using the Licensed Webfonts(s).
 * 
 * You may obtain a valid license at the URLs below.
 * 
 * Webfont: Manus by JOEBOB graphics
 * URL: Font Family Page
 * Copyright: © 2014 GEERT
 * Licensed pageviews: 200,000
 * 
 * 
 * License: MyFonts Web Font End User License Agreement « MyFonts
 * 
 * © 2017 MyFonts Inc
*/

/* @import must be at top of file, otherwise CSS will not work */
@import url("//hello.myfonts.net/count/34d896");

  
@font-face {font-family: ‚Manus‘;src: url(‚webfonts/34D896_0_0.eot‘);src: url(‚webfonts/34D896_0_0.eot?#iefix‘) format(‚embedded-opentype‘),url(‚webfonts/34D896_0_0.woff2‘) format(‚woff2‘),url(‚webfonts/34D896_0_0.woff‘) format(‚woff‘),url(‚webfonts/34D896_0_0.ttf‘) format(‚truetype‘);}
 

und hast du eine Idee für mich?

Du solltest mal klären warum bei http://hello.myfonts.net/count/34d896  nichts kommt.