Reputation: 4059
I cannot get the font working on my Wordpress website, I tried everything and I cannot find what is wrong. I placed the font in the fonts folder created in the root of my wordpress blog.
Below you can see my style.css file.
@font-face {
font-family: 'museo_sans500';
src: url('/fonts/museosans500-webfont.eot');
src: url('/fonts/museosans500-webfont.eot?#iefix') format('embedded-opentype'),
url('/fonts/museosans500-webfont.woff') format('woff'),
url('/fonts/museosans500-webfont.ttf') format('truetype'),
url('/fonts/museosans500-webfont.svg#museo_sans500') format('svg');
font-weight: normal;
font-style: normal;
}
and then calling it:
.myfont{
font-family: "museo_sans500", sans-serif;
}
Any advice appreciated..
Upvotes: 0
Views: 340
Reputation: 1793
If you placed the fonts in the root of you blog then your paths are incorrect. Right now you are pointing to the fonts folder in your current theme directory.
Upvotes: 1