test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • newtybar Friend
    #160607

    Hi,

    I was wanted to change the header font on the Lead template to something that matched my theme more. Currently it looks kind of Grungy and I wanted to use a different font. How would I approach this?

    I believe it is the “cufon” font or something, but I’m not sure.

    Thanks for all your help

    newtybar Friend
    #378183

    For those that are interested – I’ve sort of figured it out. You have to get a cufont or convert a truetype font into cufon format and drop it into the “templates/ja_lead/js/cufon/” folder. Then you have to specify the font in this code found in the template.php

    [PHP]<!– Cufont –>
    <script language=”javascript” type=”text/javascript” src=”<?php echo $tmpTools->templateurl(); ?>/js/cufon/cufon.js”></script>
    <script language=”javascript” type=”text/javascript” src=”<?php echo $tmpTools->templateurl(); ?>/js/cufon/PT_Sans_700.font.js”></script>
    <script type=”text/javascript”>
    Cufon.replace(‘#ja-topsl div.moduletable h3, div.jazin-section a span, h1.componentheading, .componentheading, #ja-col2 div.moduletable h3, #ja-col2 div.moduletable_default h3, #ja-col2 div.moduletable_menu h3, #ja-col2 div.moduletable_text h3’, { fontFamily: ‘PT Sans’ });
    </script>
    <!– // Cufont –>[/PHP]

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

This topic contains 2 replies, has 1 voice, and was last updated by  newtybar 13 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum