How Do I Change Theme Fonts?

Discussion in 'Slice WordPress Theme' started by Eric, Apr 29, 2014.

Thread Status:
Not open for further replies.
  1. Eric

    Eric New Member

    Joined:
    Dec 28, 2011
    Messages:
    25
    Likes Received:
    1
    I would like to change the font-family for this site, using the Slice theme: http://egtestsite.com.

    I tried changing the font-family in the CSS style sheet in the theme editor, but that doesn't seem to be working. The original fonts were Museo 500 for the headings and Trebuchet MS for the content. I changed everything in the Stylesheet to sans-serif, but the headings are still in Museo 500 and the content is no longer Trebuchet MS, but it's not sans-serif either.

    So I would like to know how to change the fonts to my desired ones.

    Thanks.
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello

    Go to js > custom.js present in your theme directory and remove the code given below

    Code:
    Cufon.replace({
        hover: true
    })('.add h2')('.reply',{
        hover:true
    })('h1')('h2')('h3')('h4')('h5')('h6')('.add')('.post-info ') ; 
    Now,
    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    h1,h2,h3,h4,h5,h6,a{
    font-family:symbol!important;
    }
    p{
    font-family:symbol!important;
    }
    In place of "symbol" put your font type.
    This will solve your issue.
     
  3. Eric

    Eric New Member

    Joined:
    Dec 28, 2011
    Messages:
    25
    Likes Received:
    1
    That worked. Thanks.
     
Thread Status:
Not open for further replies.

Share This Page