Home / Forums / DynamiX Support / Disable cufon on individual elements

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts

  • Regan Frank
    Participant

    Hi Andy.

    Just wondering if there is an easy way to disable Cufon on certian h1 and h2 elements.

    I have the need to place a series of tables through out the site and the cufon / gradient formatting of the theme  is throwing the design of the tables off.

    Is this possble?

    Thanks Mate.

    Andy
    Andy
    Keymaster

    Hi Regan,

    The only way to do this is edit the DynamiX/lib/inc/cufon-replace.php file. You'll see within this file the h1-h6 tags it converts. At the moment it covers all h1-h6 tags, so you'll have to change the classes it uses. I'm not sure how you'll do this. 

    You could switch the setting in the DynamiX -> General Settings -> Cufon Font to branding and h1 h2 tags and then within the file above, search for this line. 

    <?php } elseif(get_option("cufon_tags")=="brandingh1h2") { ?>

    This option currently only converts branding and h1 and h2 tags. So you could add to it anything else you wanted? 

    Hope that makes sense, I'm tired haha


    Regan Frank
    Participant

    Thanks Andy.

    I will give that a go, and report back.

    BTW, what elements does "branding" cover?

    Andy
    Andy
    Keymaster

    Branding will just cover the logo/branding text. If you're using an image this doesn't apply. 

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

You must be logged in to reply to this topic.