richd:
Hello,
I realize that this thread is a couple of years old but I ran into this issue and after a little trial and error found a "fix" that I thought I would submit in the hopes it would help someone else.
The Problem:
- The default logo sizes (HEADER_LOGO_WIDTH and HEADER_LOGO_HEIGHT) stored in \includes\languages\english\YOUR_CUSTOM_FOLDER_NAME\header.php are not being applied to the logo image (by default logo.gif). The issue seems to be in \includes\templates\YOUR_CUSTOM_FOLDER_NAME\common\tpl_header.php (where YOUR_CUSTOM_FOLDER_NAME here is the customized directory you have set up . . . if you have created it)
The Fix:
-
- Open \includes\templates\YOUR_CUSTOM_FOLDER_NAME\common\tpl_header.php
- Find the following line:
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>';
>
>
>
4. Comment out that line so it looks like this:
> - >
- ```
//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>';
- Cut and Paste this line in above the one you just commented out:
echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '"><img src="' . DIR_WS_TEMPLATE . 'images/' . HEADER_LOGO_IMAGE . '" height="' . HEADER_LOGO_HEIGHT . '" width="'. HEADER_LOGO_WIDTH .'" alt="' . HEADER_ALT_TEXT . '" title="' . HEADER_ALT_TEXT . '"></a>' ?>
>
>
>
6. Save the file and refresh the site in your browser and you should be good to go.
>
>
> Good Luck,
>
> Rich
Just tried your trick....big kudos!!!!!!!!!!!!!!!!!!!!!!!!!!!!! This ought to be in the next release.
ZC v1.5.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!