Re: White Space Below Logo
#logowrapper has a height of 130px. Your image is not this high. So you need to reduce the height of #logowrapper or increase the size of the image.
In stylesheet.css look for:
Code:
#logoWrapper{
background-image:
url(../images/cts_top_store.jpg);
background-repeat: repeat-x;
background-color: #ffffff;
height:130px;
}
Change the 130px to match the height of your image.
I think that there are other issues too but get rid of this and we'll have a look.
Re: White Space Below Logo
Okay I changed the logo wrapper to the same size as my image.
(119).
Now there is still a white space below the logo before the ez pages bar.
Would like to get rid of this....please.....
Also the issue of the Image box (red X) in the upper left corner of the logo image (links back to the main cart page).
Thanks for your help.
Martin
Re: White Space Below Logo
If you will load a copy of your image cts_top_store.jpg to your cart/images folder I can provide a better solution
Re: White Space Below Logo
File has been uploaded per your request.
Thanks
Martin
Re: White Space Below Logo
I'm not sure if it is the same problem as mine, but I had some space that was annoying me under the logo. See if the same fix will work for you.
http://www.zen-cart.com/forum/showthread.php?t=131858
Looking at your site I'm not sure this fix will work. Let us know what you did to fix it.
Re: White Space Below Logo
Find in your stylesheet the following
Code:
#headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
margin: 0em;
padding: 0em;
}
Seperate and edit to resemble this and adjust value if required
Code:
#headerWrapper {
height: 164px;
margin: 0em;
padding: 0em;
}
#contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
margin: 0em;
padding: 0em;
}
Re: White Space Below Logo
Sorry but that didn't work.....it put my logo half way up into the top bar where the home and login is........
Didn't move it down but moved my logo up.
Need to get rid of white space below logo and above the bar where the ez pages links are.
Thanks,
martin
Re: White Space Below Logo
Can't see what it did????
Did you try adjusting the value???
the ezpage links are contained inside of the headerWrapper
Re: White Space Below Logo
I adjusted it as you suggested.
The top blue bar had the home and login links in it.
Now the links are sitting in the upper left hand corner of my logo image.
The white space is still below the logo and the lower blue bar with the privacy notice and my account links.
Want to get rid of the white space below the above links.
Martin
Re: White Space Below Logo
Well scrap that...
Edit a copy of tpl_header.php if you have one in templates/classic/common
If not get a copy from themplate_default/common and place it in your classic/common folder if you have one or create the folder is not.
Find the following code and delete the <br class="clearBoth" /> highlighted and see what affect this has
Code:
<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
<li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
<?php }?>
</ul>
</div>
<div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
<br class="clearBoth" />
</div>
Re: White Space Below Logo
Sorry, Yours may look more like this
Code:
<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-->
Re: White Space Below Logo
Thanks .... that did it...... I didn't delete it ...just commented it out.
Now if you could help me get rid of the small image placement box with the red x in it ..... in the upper left corner of my logo.
When you right click on it and choose show picture I get something I have not seem.
Also it is a link right back to my shopping cart.
Would like to ge rid of it.......I had it gone once and now it is back.
Thanks so much for your help.
Martin
Re: White Space Below Logo
Quote:
Now if you could help me get rid of the small image placement box with the red x in it ..... in the upper left corner of my logo.
I suggest that you do this correctly and have made image corrections that you can get HERE
Unzip and FTP both to your includes/templates/classic/images folder
Re: White Space Below Logo
Loaded the files as you said and it wasn't right.
The main part of the logo showed up but the blue circle logo with the red arrow did not show up on the page.
Changed it back for now.
The little red x is still in the upper left corner of the logo section.
Thanks,
Martin
Re: White Space Below Logo
Did you upload both images??
Unless you have altered your code the logo.gif image or lack thereof is what is causing the red X
Re: White Space Below Logo
I probably altered the code for logo.gif in the header logo.
Which file is it called from ?
I'LL try to get it back in there.
Thanks,
Martin
Re: White Space Below Logo
As you are using the classic template you should have a /templates/classic/common/tpl_header.php file
If you changed the core file at templates/template_default/common and did not maintain a unadulterated copy you will have to grab one from a downloaded distribution