Before you ask please READ THIS

Custom @font-face fonts in chillout

Hi I need to use some fonts which I have placed in the themes route folder and placed a standard @font-face in css but the fonts aren't appearing. Could you help to define how to show these fonts rather than the google fonts selections that the template makes use of.

Thank you
David

Comments

  • Posts: 1,758
    What css definition did You use? And where did You placed this definition?
    Where You've placed font files?
    Remember to rate our theme if you like it ;)
    All the Best.
  • Hi I placed the fonts besom regular in a folder in the theme main folder for chalet. The folder was called fonts
    and I used this call in the style.css at the top of the page.

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

    h1{font-family: besomregular, Arial, sans-serif;
    font-size:50px;
    }
  • Posts: 1,758
    PrettyCreative said:
    h1{font-family: besomregular, Arial, sans-serif;
    font-size:50px;
    }
    here is the error.
    should be
    
    h1{font-family: 'besomregular', Arial, sans-serif;
    font-size:50px;
    } 
    
    Remember to rate our theme if you like it ;)
    All the Best.
  • edited June 2015 Posts: 7
    Hi I've placed this css in style.css, and user.css and in the custom box in the wordpress admin and I'm now getting times new roman as a h1 font. Can you advise on the best way to get this font appearing as a h1 in your theme please.

    Thank you
    Post edited by PrettyCreative on
  • Posts: 1,758
    Please send me an url to your website.
    Remember to rate our theme if you like it ;)
    All the Best.
  • Posts: 1,758
    There's something strange in custom styles css file.
    Can I ask You for temporary access to admin panel? If so - please send me login credentials via private message.
    Remember to rate our theme if you like it ;)
    All the Best.
  • Hi I've sent you a message
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!