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

    Hey,

    I use the Arvo font in the theme. But it’s necessary for me that visitors can select all the text. And that’s not possible with Cufon.

    I found another way to use the Arvo font (Google Web Fonts), but I want to turn off Cufon now, how can i do that?

    If it’s possible I want to do that with Selection -> Comment in Dreamweaver. With comment’s it’s easy to turn on Cufon later.

    #44250

    Hey,

    delete/comment out following code in register-styles.php (located in the folder “includes”):

    array(
    'elements' => '.cufon_headings',
    'key' => 'cufon',
    'value' => avia_get_option('avia, font_heading')
    ),

    #44251

    Thnx for your help! :)

    I have also comment the following code in js/avia.js

    function avia_cufon_helper()
    {
    var elString = 'h1, h2, h3, h4, h5, h6, .custom_button';

    if(jQuery.browser.msie && jQuery.browser.version < 9)
    {
    elString = '#main h1, h2, h3, h4, h5, h6, .custom_button';
    }

    var els = jQuery(elString);
    els.addClass('cufon_headings');
    }

    #44252

    Glad that I could help you :)

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

The topic ‘How to turn off Cufon’ is closed to new replies.