Burke Hamblin
2[H]4U
- Joined
- Jun 1, 2004
- Messages
- 2,540
Trying to get @font-face working on my Wordpress blog, but while there are myriad Google results on the code itself, what it does, etc., I cannot find where I'm supposed to paste it within my existing CSS.
Here's the code (via fontsquirrel.com)
@font-face {
font-family: 'ChunkFiveRegular';
src: url('Chunkfive-webfont.eot');
src: url('Chunkfive-webfont.eot?#iefix') format('embedded-opentype'),
url('Chunkfive-webfont.woff') format('woff'),
url('Chunkfive-webfont.ttf') format('truetype'),
url('Chunkfive-webfont.svg#ChunkFiveRegular') format('svg');
font-weight: normal;
font-style: normal;
I understand how to reference the font in the stylesheet, but the places I've pasted the specifc code either has no effect, or it breaks the template.
If this is a derp question, let me have it, guns blazing. TIA.
Here's the code (via fontsquirrel.com)
@font-face {
font-family: 'ChunkFiveRegular';
src: url('Chunkfive-webfont.eot');
src: url('Chunkfive-webfont.eot?#iefix') format('embedded-opentype'),
url('Chunkfive-webfont.woff') format('woff'),
url('Chunkfive-webfont.ttf') format('truetype'),
url('Chunkfive-webfont.svg#ChunkFiveRegular') format('svg');
font-weight: normal;
font-style: normal;
I understand how to reference the font in the stylesheet, but the places I've pasted the specifc code either has no effect, or it breaks the template.
If this is a derp question, let me have it, guns blazing. TIA.