Google Fonts only on Blog Page and Blog Menu

Discussion in 'ColorWay WordPress Theme' started by foya, Nov 3, 2013.

  1. foya

    foya New Member

    Joined:
    Jul 5, 2012
    Messages:
    3
    Likes Received:
    0
    Hi,

    I would like to use a Google font only on my blog page and the blog menu. However, if I take out the cufon information out of my custom.js as shown in other threads here in the forum (i.e. delete "//Cufon replacement Cufon.replace('h1')('h2')('h3')('h4')('h5')('h6');"), the colorway-specific font on the front page (especially the slider) is gone. If I leave the cufon information in the custom.js for h1 and h2 (i.e. delete only "('h3')('h4')('h5')('h6')"), I can't change the font in my custom css for my blog pages because the "cufon replacement" for h1 and h2 overrides it.

    Therefore, my question is: How can I change my blog headlines h1 and h2 (including the titles of the widgets in the right-hand side blog menu) without losing the custom font for h1 and h2 on the front page?

    Thank you very much for your support!
     
  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    Heading tag used in blog page is <h2>. So just go to the custom.js and replace ('h2') with ('.slide .slide-content.entry .title').
    This change will remove cufon from blog and single page heading not from front page.

    Thanks & Regards
    Nitesh Raghuwanshi
     

Share This Page