Before you ask please READ THIS

add html elements to cufonized. Where is "Cufon.replace" ?

edited April 2012 in Airlock Posts: 5
Where can I add which html element I want to cufonized select like ".front-page h1.hello-text". Like ".portfolio-elastic .item h2" or .etc

Write me please which file and line if you can.

Thank you !
Post edited by lolek on

Comments

  • AirAir
    Posts: 10,970
    if( ApolloParams.cufon == 'on' ){
    Cufon.replace('.mm', { fontFamily: ApolloParams.cufon_name, hover: true, letterSpacing: '-1px' });
    }
    in airlock/custom/js/scripts.js

    As you can see you have to add only class 'mm' to element that you wish to use Cufon on.

    With regards.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion