• Here is the code I have been trying to use. Previously I had no results using the cufon plugin so I started to code it this way… what is the the problem here? no fonts are changes anywhere in the site.

    <script type="text/javascript" src="http://www.adubsdesign.com/js/cufon-yui.js"></script>
    
    <script type="text/javascript" src="http://www.adubsdesign.com/js/AvantGardeMdITCTT_700.font.js"></script>
    
    <script type="text/javascript" src="http://www.adubsdesign.com/js/Futura_Std_700.font.js"></script>
    
    <script type="text/javascript" src="http://www.adubsdesign.com/js/Berthold_Akzidenz_Grotesk_BE_700.font.js"></script>
    
    <script type="text/javascript">
    
    Cufon.replace('h2',{fontFamily: 'Futura',fontWeight: 'bold'});
    
    Cufon.replace('#menu',{fontFamily: 'BertholdAkzidenzGroteskBE',fontWeight:'bold'});	
    
    Cufon.replace('.shop_image_text',{fontFamily: 'Futura',fontWeight:'bold'});
    
    Cufon.replace('.post_title',{fontFamily: 'Futura',fontWeight:'bold',fontSize:'16px',hover:'true'});
    
    </script>
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    Your font styling should be done in your styles.css on the original typeface not in your Cufon statements – remove all font attributes from above and see how that works.

    Regards,
    Peter

    Hello,

    Your font styling should be done in your styles.css on the original typeface not in your Cufon statements – remove all font attributes from above and see how that works.

    Regards,
    Peter

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘cufon help needed’ is closed to new replies.