As this solution might be useful to others, I thought I’d post it.
Disclaimer: Please not that I am not a programmer, rather I flail around until something I do works. That said, this is what I did and it worked for me. Please back up before you try this!
-
I created a new css file entitled index_home.css in my css folder of my template.
-
I created a new logo entitled logo2.gif and place it in my template/images.
-
I copied and pasted the info for logo wrapper and logo from my stylesheet. This looks something like:
#logoWrapper {
margin: 0em 0em 0em 0em;
padding: 1em 1em 0em 1em;
background-color:;
}
#logo {
float: left;
}
-
I renamed these to logo2Wrapper and logo2
-
I edited the header.php file in includes/languages/English/my template to add the above:
define('HEADER_ALT2_TEXT', 'My Store Name');
define('HEADER_SALES2_TEXT', '');
define('HEADER_LOGO2_WIDTH', '192px');
define('HEADER_LOGO2_HEIGHT', '64px');
define('HEADER_LOGO2_IMAGE', 'logo2.gif');
- I edited the tpl_header.php file in my template/common to include a reference to the new logo.
On line 70, I removed:
<div id="logoWrapper">
<div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
And replaced it with:
<?php if ($this_is_home_page) { ?>
<div id="logoWrapper">
<div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO2_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO2_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
<?php
}
else
{
?>
<div id="logoWrapper2">
<div id="logo2"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
<?php
}
?>
Because I am a computer idiot, I included all of my steps. Please forgive if some of this was already obvious to you.
Good Luck!