Vonder
Vonder

Reputation: 4059

Cannot load the @font-face

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

Answers (1)

Juan Rangel
Juan Rangel

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

Related Questions