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


    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.



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

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


    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);


    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.