Hey WP-Fans,
ich bin gerade dabei ein neues Theme zu entwerfen, leider passt die Standart Schrift nicht und ich wollte jetzt über @font-face eine neue Schrift in der style.css einbinden.
Hier der Code:
Code
@font-face {
font-family: 'vegurregular';
src: url('fonts/vegur-regular-webfont.eot');
src: url('fonts/vegur-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('fonts/vegur-regular-webfont.woff') format('woff'),
url('fonts/vegur-regular-webfont.ttf') format('truetype'),
url('fonts/vegur-regular-webfont.svg#vegurregular') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'vegurlight';
src: url('fonts/vegur-light-webfont.eot');
src: url('fonts/vegur-light-webfont.eot?#iefix') format('embedded-opentype'),
url('fonts/vegur-light-webfont.woff') format('woff'),
url('fonts/vegur-light-webfont.ttf') format('truetype'),
url('fonts/vegur-light-webfont.svg#vegurlight') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'vegurbold';
src: url('fonts/vegur-bold-webfont.eot');
src: url('fonts/vegur-bold-webfont.eot?#iefix') format('embedded-opentype'),
url('fonts/vegur-bold-webfont.woff') format('woff'),
url('fonts/vegur-bold-webfont.ttf') format('truetype'),
url('fonts/vegur-bold-webfont.svg#vegurbold') format('svg');
font-weight: normal;
font-style: normal;
}
Alles anzeigen
Das einbinden funktioniert auch soweit, ich benutze die Schrift dann über
Wenn ich die Bold-art der Schrift verwende geht es auch, nur bei Light geht es nicht... :(
Kann mir jemand helfen, oder kennt jemand dieses Problem?
LG
Mojo