Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Greg Banig Friend
    #148830

    How can I use a different font for cufon?

    Saguaros Moderator
    #333266

    Hello guy

    here is the codes to replace text by cufon font;
    [PHP]
    <?php if ($tmpTools->getParam(‘ja_cufon’)) : ?>
    <!– 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/Hobo_Std_500.font.js”></script>
    <script type=”text/javascript”>
    Cufon.replace(‘.title-big, .title-small, div.logo-text h1 a span, h2.contentheading, div#ja-menu-title’, { fontFamily: ‘Hobo Std’ });
    </script>
    <!– // Cufont –>
    <?php endif; ?>
    [/PHP]

    you can see them in the templates/ja_mona/index.php

    http://www.blog.redcentaur.com/2009/how-to-use-custom-fonts-with-cufon/

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

This topic contains 2 replies, has 2 voices, and was last updated by  Saguaros 14 years, 9 months ago.

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