Dear Krisi team,
in addition to Googles Open Sans I want to add some self hosted fonts to display a text in Tigrinya. I got the Abyssinica SIL to show the text, uploaded all webfont files (.eot, .woff, .svg) to a new folder “font” and added the @font-face code to my child-theme style.css.
Than I created some extra classes, e.g.:
.test-ti2 {
font-family: “AbyssinicaSILW”, Arial, sans-serif;
font-size: 1.3em;
line-height: 1.5em;
color:#505050;
}
and styled the text in a code-block, e.g.:
<p class=”test-ti2″>ስመይ ሲያር ይበሃል፡ ዕድመይ 19 ዓመት። ካብ ኣፍጋኒስታን መጺኤ፡ ካብ 2014 ዓመተ ምሕረት ኣትሒዘ ከኣ ኣብ ጀርመን ይነብር ኣለኹ። Und weiter geht es auf deutsch.<p>
Everything works fine but the Abyssinica is ignored and the Kefa system font (Mac OS) is diplayed instead. What am I doing wrong?
Best regards Anne
Hey annevoelkel,
It looks like it’s being blocked by the browser, please see error message in private. Could you try adding www in your import CSS?
Best regards,
Rikard
Hi Rikard,
thank you very much. Adding www. was successfull and Kefa II bold is displayed fine on Safari, Firefox and Chrome. Now I have to find out, what’s wrong with Abyssinica fonts.
Best regards Anne
Hi,
I have checked your site and it seems like Abyssinica font is working fine and I can’t see any error in the console that is related to fonts.
Best regards,
Nikko
Thanks, Nikko,
yes, now everything works fine. I replaced the Abyssinica files because the old files did not work properly.
Thanks to all of you for quick and helpfull response.
Best regards
Anne
Hi Anne,
You’re very much welcome, glad that hear that it’s all working fine. Thanks for using Enfold :)
Best regards,
Nikko