Pretty simple question, why does my CSS not render my fonts when I declare it programmatically (in my CSS) vs when I use the @font-your-face UI?
For a number of reasons I'd like to be able to control this from my styles. I'm declaring the CSS font-family declaration correctly and the text is being changed but it's going to some sort of Sans-Serif or Helvetica default.
If it matters I'm using, or trying to use omega 4. thanks in advance.
Here's my css for the relevant selector, I know it's trying to work because the text changes but not to this font.
.l-page{width:960px;
margin:0 auto;
border:2px solid black;
border-radius:15px;
padding:2px;
font-family: 'Cassannet - simple';
font-weight: normal;
font-style: normal;}
font-family
as normal. There's nothing else to it, Drupal doesn't (and can't) change how the basic HTML/CSS works@font-face { font-family: 'MyWebFont'; src: url('myfont.woff2') format('woff2'), url('myfont.woff') format('woff'); }
. If you are not using anything like this, it doesn't work.