Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 135195

maximopark on "custom fonts"

$
0
0

Hey

Relatively new to wordpress and I'm sure I'm missing something simple. Trying to load a custom font onto an article title on a test site I'm building locally on my PC. I've used font squirrel to covert a .ttf into a webfont package with all the files I need. I've added the necessary @font face rule into my css and whenever I try to apply the font it seems to only apply to part of a link, the font I'm trying to change all appears inside an <a> tag but yet the new font only apply's to part of the text at the end. "Recording Starts" stays unchanged and "16.06.13" is the only part which the new font applies to. What am I missing cause this is driving me crazy!

CSS

@font-face {
    font-family: 'aerovias_brasil_nfregular';
    src: url('aeroviasbrasilnf-webfont.eot');
    src: url('aeroviasbrasilnf-webfont.eot?#iefix') format('embedded-opentype'),
         url('aeroviasbrasilnf-webfont.woff') format('woff'),
         url('aeroviasbrasilnf-webfont.ttf') format('truetype'),
         url('aeroviasbrasilnf-webfont.svg#aerovias_brasil_nfregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

.entry-header .entry-title a {
    font-family: 'aerovias_brasil_nfregular';
}

HTML
</a><a href="http://localhost/wordpress/2013/07/136/" title="Permalink to Recording Starts 16.06.13" rel="bookmark">Recording Starts 16.06.13</a>


Viewing all articles
Browse latest Browse all 135195

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>