2013-05-27, 22:46:10
hi,
I've got a question about using font-face in a theme's css. On Bahia Arabians, I'm trying to implement some font-face. But it doesn't seem to work.
Is it even possible to add some font-face to the CMS? I've used this code:
to call upon the font-face. The fonts are located in: theme >> minimalism >> fonts
The reason why I used this path, is because the CSS is also getting images out of: theme >> minimalism >> images, so I thought this would work to.
Thanks in advance!
I've got a question about using font-face in a theme's css. On Bahia Arabians, I'm trying to implement some font-face. But it doesn't seem to work.
Is it even possible to add some font-face to the CMS? I've used this code:
Code:
@font-face {
font-family: book_antiquaregular;
src: url(../fonts/566-webfont.eot);
src: url(../fonts/566-webfont.eot?#iefix) format(embedded-opentype),
url(../fonts/566-webfont.woff) format(woff),
url(../fonts/566-webfont.ttf) format(truetype),
url(../fonts/566-webfont.svg#book_antiquaregular) format(svg);
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: book_antiquabold;
src: url(../fonts/567-webfont.eot);
src: url(../fonts/567-webfont.eot?#iefix) format(embedded-opentype),
url(../fonts/567-webfont.woff) format(woff),
url(../fonts/567-webfont.ttf) format(truetype),
url(../fonts/567-webfont.svg#book_antiquabold) format(svg);
font-weight: normal;
font-style: normal;
}
to call upon the font-face. The fonts are located in: theme >> minimalism >> fonts
The reason why I used this path, is because the CSS is also getting images out of: theme >> minimalism >> images, so I thought this would work to.
Thanks in advance!