change font in theme option headers

Discussion in 'ColorWay WordPress Theme' started by nantawan, Feb 25, 2015.

  1. nantawan

    nantawan New Member

    Joined:
    Nov 30, 2012
    Messages:
    8
    Likes Received:
    0
    Hello
    Some parts of the Colorway theme do not display in Thai script and i'm assuming this is because of the font. So I would like to change the fonts used. In particular I need to change the font in the following areas of the colorway theme options:
    - slider headings (all 6)
    - home page intro
    - 1st-4th feature heading

    Can you please give me Custom CSS to paste into the 'Styling Options' to achieve this. For now, I will use Cordia New, which displays in both English and Thai.

    Cheers,

    Robert
     
  2. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
  3. nantawan

    nantawan New Member

    Joined:
    Nov 30, 2012
    Messages:
    8
    Likes Received:
    0
    Hi Pramod,
    I added my preferred font to my wordpress (& theme) and tried your script but it doesn't work yet.
    I've tried in vain to find some reference in php files to the font used in h1 headers & sliders etc. Now I see that perhaps the font is created by 'cufon'. Are you sure that the script you suggested to me will over-ride the cufon-generated font?
    Or do you have any other suggestions for me?

    regards,
    Robert
     
  4. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
  5. nantawan

    nantawan New Member

    Joined:
    Nov 30, 2012
    Messages:
    8
    Likes Received:
    0
    Thanks for the tip Pramod.

    Deleting the cufon replace command in custom.js does work for me - great! However, I'm running Wordpress as multi-site (2 sites- one English, the other mirrored in Thai) and I want to keep your attractive cufon font enabled on the English site. So I tried to 'comment it out' in the Colorways Custom CSS box on my Thai site:

    /* Cufon.replace('h1')('h2')('h3')('h4')('h5')('h6'); */

    But this doesn't work - maybe needs some fine tuning. Do you have any suggestions?

    thanks,
    Robert
     
  6. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello Robert!

    You can delete that line and clear cache and cookies of browsers.
    And if any plugin is activated related to cache please deactivate them.
    This will resolve your issue.

    Thanks & Regards
    Pramod Patel
     

Share This Page