-
AuthorPosts
-
February 16, 2016 at 12:59 pm #584140
OK – so I am using the following code:
@font-face {
font-family: Aller;
src: url(‘http://scotiafishing.com/wp-content/themes/enfold/fonts/Aller_Rg.ttf’);
}
@font-face {
font-family: Aller_Light;
src: url(‘http://scotiafishing.com/wp-content/themes/enfold/fonts/aller_it-webfont.ttf’);
}
body { font-family: ‘Aller’, sans-serif!important; }.home_statement p{
width:90%!important;
font-family: ‘Aller_Light’, sans-serif!important;
margin: 0 auto;
font-size:18px;
line-height:30px;
text-align:center !important;
}I uploaded the fonts to the font folder.
The normal body font is working fine, but “Aller_Light” in .home_statement will not work, no matter what I do! Now if I comment out the @font-face declaration of both, Aller still works but Aller_Light still does not. Could it be that I declared them somewhere else, not in my custom css file?I have been working on it for hours!
February 16, 2016 at 1:20 pm #584153Right – it’s only working AT ALL in safari and chrome.
February 17, 2016 at 8:14 am #584511Hi,
Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardFebruary 17, 2016 at 1:04 pm #584665OK, The font ‘Aller’ works in safari and chrome, but not in firefox or iOS.
So, you can see my large custom css file under Appearance.
Aller_light does not work at all. Strangely, when I change:
@font-face { font-family: Aller; src: url(‘http://scotiafishing.com/wp-content/themes/enfold/fonts/Aller_Rg.ttf’); } @font-face { font-family: Aller_Light; src: url(‘http://scotiafishing.com/wp-content/themes/enfold/fonts/aller_it-webfont.ttf’); }
to call different fonts, or delete it entirely, Aller does not change and Aller_Light still does not change either. I am working with caching disabled. I must be calling Aller somewhere else, but can’t work out where.
I have been working on this for hours and days!February 18, 2016 at 11:10 am #585293hello?
February 18, 2016 at 11:33 am #585304Don’t worry – I sorted it.
February 19, 2016 at 6:06 am #585860 -
AuthorPosts
- You must be logged in to reply to this topic.