Okay, I have confirmed that there is a bug in the includes/templates/template_default/common/tpl_header.php file. The same bug exists in the includes/templates/responsive_classic/common/tpl_header.php file. If you have copied either to a YOUR_TEMPLATE folder you will have copied the problem with it.
To fix - Find the version of the includes/templates/YOUR_TEMPLATE/common/tpl_header.php file that you are currently using in your shop.
Replace the branding display section```
<!--bof-branding display--><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>
<?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
<div id="taglineWrapper">
<?php
if (HEADER_SALES_TEXT != '') {
?>
<div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
<?php
}
?>
<?php
if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div>
<?php
}
}
?>
</div>
<?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>
</div>
<br class="clearBoth" />
<!--eof-branding display-->
```with the following code```
<!--bof branding display--><div id="logoWrapper" class="group onerow-fluid">
<div id="logo">
<?php 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>' ?>
<?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
<div id="taglineWrapper">
<?php
if (HEADER_SALES_TEXT != '') {
?>
<div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
<?php
}
?>
<?php
if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div>
<?php
}
}
?>
</div>
<?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>
</div>
</div>
<!--eof branding display-->
What this does is actually USE the settings from includes/languages/english/header.php OR includes/languages/english/YOUR_template/header.php when resizing the logo image to a greater width or height than the image itself.
If a person was trying to make a 700 x 200 logo be 1400 x 400 or to give the image 100% of the width, the system would never go past the actual image size.
This has been around for some time and is still present in 1.5.6 and 1.6.0 development files.
Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com