Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Space between the Home link and EZ pages in the header

Space between the Home link and EZ pages in the header

Locked

Started by arniesbarmyarmy on 23 Oct 2009, 11:30 AM · Views: 1,122

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
23 Oct 2009, 11:30 AM
#1
arniesbarmyarmy avatar

arniesbarmyarmy

New Zenner

Join Date:
Aug 2009
Posts:
40
Plugin Contributions:
0

Post #1 by arniesbarmyarmy

Hi, I've just removed the login and my account from the heading bar on my site by removing the code in the tpl_header.php file.

But now, there is a space between the Home link and the rest of the EZ pages in the header where the login and my account used to be. I cannot for the life of me figure out how to get rid of the space.

here's an image of my problem:
http://img198.imageshack.us/img198/3744/annoyingspacing.gif

any ideas would be greatly appreciated!! Thanks

26 Oct 2009, 1:04 AM
#3
tino_schlegel avatar

tino_schlegel

Totally Zenned

Join Date:
Nov 2007
Location:
Melbourne, Australia
Posts:
532
Plugin Contributions:
0

Post #3 by tino_schlegel

The easiest fix is to put all menu items in one container. Put the Home link inside the div with the EZpages

<div id="navEZPagesTop">
  <a href="http://www.rinatoconstruction.co.uk/">Home</a>
  <a href="http://www.rinatoconstruction.co.uk/sister-companies?zenid=7fbca26b168ca8e0ec9c32a497ddf4ce">Sister Companies</a>
  <a href="http://www.rinatoconstruction.co.uk/space-planning?zenid=7fbca26b168ca8e0ec9c32a497ddf4ce">Space Planning</a>
  <a href="http://www.rinatoconstruction.co.uk/index.php?main_page=contact_us&zenid=7fbca26b168ca8e0ec9c32a497ddf4ce">Contact</a>
</div>

And remove the navMain div, But maybe there are more links inside when a customer is logged in such as checkout ot shopping cart. Have a look at the code and merge navMain and nav EZpages together.