Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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!

    #584153

    Right – it’s only working AT ALL in safari and chrome.

    #584511

    Hi,

    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,
    Rikard

    #584665

    OK, 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!

    #585293

    hello?

    #585304

    Don’t worry – I sorted it.

    #585860

    Hi,

    Sorry for the late reply, glad you got it sorted. Please let us know if you should need any more help on the topic.

    Thanks,
    Rikard

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.