Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Qiang Wu Friend
    #190546

    Hi,

    I have some trouble editing the default font to font-family:”宋体”, is there a quick way to do it?

    quanpa Friend
    #505732

    Hi there,

    In order to edit default font-family, you access skinfrontenddefaultjm_craftscssstyles.css file and look for this css rule:
    [PHP]
    body#bd{

    font-family: ‘Roboto’,sans-serif; <<< change to your desired font

    }
    [/PHP]

    Qiang Wu Friend
    #505783

    this template uses online font as I believe, a lot of other logic other than a simple css change if I understand correctly.

    Sherlock Friend
    #506074

    Hi mate,

    if you open the file of appdesignfrontenddefaultjm_craftstemplatepagehtmlhead.phtml you would see this line
    <link href=’http://fonts.googleapis.com/css?family=Roboto:400,300,500,700,900′ rel=’stylesheet’ type=’text/css’ />
    this line if for loading a fonts from google, firstly you would need to change the family value here and then change as mentioned above
    Hope you get the ideal !

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 3 voices, and was last updated by  Sherlock 10 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum