Hallo ihr WordPress´ler,
ich möchte gerne die Schrift "open sans" auf den Server legen. Ich habe einen Ordner angelegt, der "Custom-Fonts" heißt und in die CSS nachfolgendes geschreiben und trotzdem zeigen Safari und Google die Schrift nicht an, zumindest nicht in den Überschriften. Der Kunde benutzt das Theme Sidney Pro.
Hier meine Eingabe in die CSS:
/* custom fonts */
@font-face {
font-family: 'open_sansbold';
src: url('https://flowrowfit.com/custom-fonts/O…-webfont.eot');
src: url('https://flowrowfit.com/custom-fonts/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
url('https://flowrowfit.com/custom-fonts/O…d-webfont.woff2') format('woff2'),
url('https://flowrowfit.com/custom-fonts/O…ld-webfont.woff') format('woff'),
url('https://flowrowfit.com/custom-fonts/O…old-webfont.ttf') format('truetype'),
url('https://flowrowfit.com/custom-fonts/O…g#open_sansbold') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'open_sansregular';
src: url('https://flowrowfit.com/custom-fonts/O…-webfont.eot');
src: url('https://flowrowfit.com/custom-fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
url('https://flowrowfit.com/custom-fonts/O…r-webfont.woff2') format('woff2'),
url('https://flowrowfit.com/custom-fonts/O…ar-webfont.woff') format('woff'),
url('https://flowrowfit.com/custom-fonts/O…lar-webfont.ttf') format('truetype'),
url('https://flowrowfit.com/custom-fonts/O…pen_sansregular') format('svg');
font-weight: normal;
font-style: normal;
}
body, #main-nav a, #footer, #footer-logo, .footer-nav a, .footer-text{
font-family: open_sansregular;
}
h1, h2, h3, h4, h5, h6{
font-family: open_sansbold;
}
Habt ihr einen - und wenn ja welchen - Fehler gefunden? Ich weiß nicht mehr weiter.
Viele Grüße,
Nerdlady