Can I put the fonts I call via "@font-face" anywhere I want, or is there a best practice with WordPress?
Can I put the fonts I call via "@font-face" anywhere I want, or is there a best practice with WordPress?
There is a plugin here, http://blogs.sitepoint.com/the-fontface-jquery-plugin/ that might be what you need.
Thanks, but I don't have any problem with "@font-face". I just wanted to know, if there's a preferred directory.
I would put them in a directory called fonts as an example from w3c.
Seems like closer to the root is better.
@font-face {
font-family: Gentium;
src: url(http://example.com/fonts/Gentium.ttf);
}OK, that's what I did.
Seems like closer to the root is better.
Interesting, I didn't know that.
Thanks :)
You must log in to post.