Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • mforester Friend
    #120849

    I’ve created 3 logos to match the 3 color choices in the Teline template. What code would I need to have the template switch the logo file based on the color selected by the site visitor?

    Thank you,

    Michael

    ncrc Friend
    #222794

    In your templates index.php around line 182:

    replace

    <img src="<?php echo $ja_template_path;?>/images/logo.gif" alt="<?php echo $mosConfig_sitename?>" />

    with

    <img src="<?php echo $ja_template_path;?>/images/logo-<?php echo $ja_color; ?>.gif" alt="<?php echo $mosConfig_sitename?>" />

    my logos reside in templates/ja_teline/images:
    logo-default.gif
    logo-red.gif
    logo-green.gif

    Check it out here: NoNeck

    mforester Friend
    #222822

    Excellent, I will try it out today. Thanks so much!

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

This topic contains 3 replies, has 2 voices, and was last updated by  mforester 16 years, 10 months ago.

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