Hi,
I’m trying to add custom fonts to my theme. I’ve followed some tutorials online, and this is what I have done:
-I’ve enabled the Custom CSS file option under the Theme Options/Custom CSS
-I’ve added the custom.css file to my wp-content/themes/woopress directory
-I’ve added the webfonts to my wp-content/webfonts folder
-I’ve added the following code to my custom.css file:
@font-face {
font-family: ‘daft_brush’;
src: url('http://www.diewasgoedlyn.co.za/wp-content/WebFonts/DaftBrushWebFonts/daftbrush-webfont.eot');
src: url('http://www.diewasgoedlyn.co.za/wp-content/WebFonts/DaftBrushWebFonts/daftbrush-webfont.eot?#iefix') format('embedded-opentype'),
url('http://www.diewasgoedlyn.co.za/wp-content/WebFonts/DaftBrushWebFonts/daftbrush-webfont.woff') format('woff'),
url('http://www.diewasgoedlyn.co.za/wp-content/WebFonts/DaftBrushWebFonts/daftbrush-webfont.ttf') format('truetype'),
url('http://www.diewasgoedlyn.co.za/wp-content/WebFonts/DaftBrushWebFonts/daftbrush-webfont.svg#daft_brush’) format('svg');
font-weight: normal;
font-style: normal;
}
h1{
font-family:'daft_brush', Arial, sans-serif;
}
But it doesn’t change the font of my Heading 1. Not sure what I am doing wrong?