Hallo,
ich möchte für das Theme "origin" die Schrift ändern. Dazu habe ich im css Folgendes geschrieben:
@font-face {
font-family: 'oxygenbold';
src: url('fonts/oxygen-bold-webfont.eot');
src: url('fonts/oxygen-bold-webfont.eot?#iefix') format('embedded-opentype'),
url('fonts/oxygen-bold-webfont.woff') format('woff'),
url('fonts/oxygen-bold-webfont.ttf') format('truetype'),
url('fonts/oxygen-bold-webfont.svg#oxygenbold') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'oxygenregular';
src: url('fonts/oxygen-regular-webfont.eot');
src: url('fonts/oxygen-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('fonts/oxygen-regular-webfont.woff') format('woff'),
url('fonts/oxygen-regular-webfont.ttf') format('truetype'),
url('fonts/oxygen-regular-webfont.svg#oxygenregular') format('svg');
font-weight: normal;
font-style: normal;
}
Die Schriften sind im Verzeichnis wp-content/themes/origin/fonts.
Leider funktioniert das nicht. Wahrscheinlich, weil man im Backend über die Theme-Optionen eine Schrift festlegt. Wie kann ich das umgehen?
Habe ich da einen Fehler / Denkfehler drin?
Danke
gst