font embedding
-
I’m trying to embed a custom font using the “CSS Stylesheet Editor” that Jetpack provides and I’m having an issue with loading the font.
The code so far is as follows:
@font-face {
font-family: ‘amertype_md_btmedium’;
src: url(‘/wp-content/uploads/2013/12/american_typewriter-webfont.eot’);
src: url(‘/wp-content/uploads/2013/12/american_typewriter-webfont.eot?#iefix’) format(’embedded-opentype’), url(‘/wp-content/uploads/2013/12/american_typewriter-webfont.woff’) format(‘woff’), url(‘/wp-content/uploads/2013/12/american_typewriter-webfont.ttf’) format(‘truetype’), url(‘/wp-content/uploads/2013/12/american_typewriter-webfont.svg#amertype_md_btmedium’) format(“svg”);
font-weight: normal;
font-style: normal;
}body,h1,h2,h3,h4,h5,h6 {
font-family: ‘amertype_md_btmedium’;
}It seems to me the url isn’t right and it doesn’t link.
- The topic ‘font embedding’ is closed to new replies.