Hey staff,
I’ve been trying to add a new font that is not available in ‘appearence > customize > typography’. I’ve read all the previous forum posts on this but for some reason i’m not getting it to work for me.
url: http://www.feddewestera.nl/
This is what i’ve already done:
Added the font files in my font folder (i’ve tried the x folder aswell as the x-child folder)
I’ve tried these css codes:
X
@font-face {
font-family: ‘edosz’;
src: url(‘http://feddewestera.nl/wp-content/themes/x/framework/fonts/edosz.eot’),
url(‘http://feddewestera.nl/wp-content/themes/x/framework/fonts/edosz.woff’) format(‘woff’),
url(‘http://feddewestera.nl/wp-content/themes/x/framework/fonts/edosz.ttf’) format(‘truetype’),
url(‘http://feddewestera.nl/wp-content/themes/x/framework/fonts/edosz.svg’) format(‘svg’);
font-weight: normal;
font-style: normal;
}
X-CHILD
@font-face {
font-family: ‘edosz’;
src: url(‘http://feddewestera.nl/wp-content/themes/x-child/fonts/edosz.eot’),
url(‘http://feddewestera.nl/wp-content/themes/x-child/fonts/edosz.woff’) format(‘woff’),
url(‘http://feddewestera.nl/wp-content/themes/x-child/fonts/edosz.ttf’) format(‘truetype’),
url(‘http://feddewestera.nl/wp-content/themes/x-child/fonts/edosz.svg’) format(‘svg’);
font-weight: normal;
font-style: normal;
}
I’m kind of clueless what to do next. Maybe you guys can see if i do something wrong?
Thanks in advance!
Fedde