Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / White Space Below Logo

White Space Below Logo

Locked

Views: 3,036

Results 1 to 18 of 18
This thread is locked. New replies are disabled.
12 Jul 2009, 6:35 PM
#1
martin_smith avatar

martin_smith

New Zenner

Join Date:
Mar 2009
Posts:
51
Plugin Contributions:
0

White Space Below Logo

I am using V 1.38......
Have a couple of problems to fix.

There is a white space below my logo just above the bar with the ez pages in it. I would like to eliminate that white space completely.

Secondly.....I have the dreaded box with the red X in the upper left corner of my logo. Tried many things to get rid of but still there. Does not show up in firefox.

Link to site: https://www.centraltrailer.com/cart

Thanks in Advance.

Martin Smith

12 Jul 2009, 8:52 PM
#2
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

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:

#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.

13 Jul 2009, 12:17 AM
#3
martin_smith avatar

martin_smith

New Zenner

Join Date:
Mar 2009
Posts:
51
Plugin Contributions:
0

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

13 Jul 2009, 2:16 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

13 Jul 2009, 2:31 AM
#5
martin_smith avatar

martin_smith

New Zenner

Join Date:
Mar 2009
Posts:
51
Plugin Contributions:
0

Re: White Space Below Logo

File has been uploaded per your request.

Thanks
Martin

13 Jul 2009, 2:49 AM
#6
linnx avatar

linnx

Zen Follower

Join Date:
Jun 2009
Posts:
187
Plugin Contributions:
0

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.

13 Jul 2009, 3:07 AM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: White Space Below Logo

Find in your stylesheet the following

#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

#headerWrapper {
        height: 164px;
	margin: 0em;
	padding: 0em;
	}
#contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
	margin: 0em;
	padding: 0em;
	}
13 Jul 2009, 3:20 AM
#8
martin_smith avatar

martin_smith

New Zenner

Join Date:
Mar 2009
Posts:
51
Plugin Contributions:
0

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

13 Jul 2009, 3:30 AM
#9
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

13 Jul 2009, 3:33 AM
#10
martin_smith avatar

martin_smith

New Zenner

Join Date:
Mar 2009
Posts:
51
Plugin Contributions:
0

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

13 Jul 2009, 3:39 AM
#11
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

<?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>
13 Jul 2009, 3:45 AM
#12
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: White Space Below Logo

Sorry, Yours may look more like this

<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-->
13 Jul 2009, 12:37 PM
#13
martin_smith avatar

martin_smith

New Zenner

Join Date:
Mar 2009
Posts:
51
Plugin Contributions:
0

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

13 Jul 2009, 2:51 PM
#14
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: White Space Below Logo

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

13 Jul 2009, 5:59 PM
#15
martin_smith avatar

martin_smith

New Zenner

Join Date:
Mar 2009
Posts:
51
Plugin Contributions:
0

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

13 Jul 2009, 6:08 PM
#16
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

13 Jul 2009, 6:57 PM
#17
martin_smith avatar

martin_smith

New Zenner

Join Date:
Mar 2009
Posts:
51
Plugin Contributions:
0

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

13 Jul 2009, 7:41 PM
#18
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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