Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Why is header on three lines?

Why is header on three lines?

Views: 620

Results 1 to 5 of 5
18 Jun 2011, 4:31 PM
#1
johnybravo avatar

johnybravo

Zen Follower

Join Date:
Jun 2011
Posts:
107
Plugin Contributions:
0

Why is header on three lines?

HI,
if you look at my page https://www.curvesandcorsets.com/catalog you will see that the header wrapper is on three lines. If you add something to the cart it then goes to 4 lines.

Is there anyway to make it just one line?
Thanks,
John

18 Jun 2011, 4:37 PM
#2
kobra avatar

kobra

Black Belt

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

Re: Why is header on three lines?

It appears that you have edited a copy of tpl_header.php and have closed #navmainWrapper too early
Probably and extra </div> in there

Added

Actually this highlighted might be an issue in your stylesheet

#navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
	margin: 0em;
	background-color: #ff73ff;
	font-weight: bold;
	color: #ffffff;
	height: 1%;
	width: 980px%;
	}
19 Jun 2011, 10:08 AM
#3
johnybravo avatar

johnybravo

Zen Follower

Join Date:
Jun 2011
Posts:
107
Plugin Contributions:
0

Re: Why is header on three lines?

The issue is with > <!-- bof languages/currencies header display -->

<div id="navCurrenciesWrapper" class="forward"> <?php if (HEADER_LANGUAGES_DISPLAY == 'True') require(DIR_WS_MODULES . 'header_languages.php'); if (HEADER_CURRENCIES_DISPLAY == 'True') require(DIR_WS_MODULES . 'header_currencies.php'); ?> </div> <!-- eof languages/currencies header display -->

if I take it out, the problem goes away. Simply taking out the /div dosen't fix it either. Any thoughts on how to keep the code in?

19 Jun 2011, 11:59 AM
#4
johnybravo avatar

johnybravo

Zen Follower

Join Date:
Jun 2011
Posts:
107
Plugin Contributions:
0

Re: Why is header on three lines?

Ok I downloaded the "currency dropdown with currency code in footer" add on instead but can't actaully get it to sit in the top of the header. Any ideas?

19 Jun 2011, 1:25 PM
#5
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,081
Plugin Contributions:
56

Re: Why is header on three lines?

The reason that the header "splits" is that there is a <br class="clearBoth"> imbedded in the cartCountTotal div. If you add the following to your stylesheet, it will clear up:

.cartCountTotal br { display: none; }