Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Moving Home/Login/Search div UNDER the Header

Moving Home/Login/Search div UNDER the Header

Locked

Views: 3,331

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
18 Sep 2007, 3:18 PM
#1
blakemiller avatar

blakemiller

New Zenner

Join Date:
Oct 2005
Posts:
57
Plugin Contributions:
0

Moving Home/Login/Search div UNDER the Header

during a previous and separate installation of Zen Cart, i thought I found a thread or a FAQ on how to move the Home/Login/Search bar UNDERNEATH the header/logo div.

I tried to hack the code in my site but kept breaking it. I've tried searching the FAQ's and help but can't find it this time?

It's been about 1.5 yrs since i've done it, so can't remember.

Can someone point me in the right direction?

https://www.sdri.net/shop

Thanks,
Blake

18 Sep 2007, 4:27 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Moving Home/Login/Search div UNDER the Header

Edit /includes/templates/your_template/common/tpl_header.php, and move the block of code in <!--b/eof navigation display--> tags to below the <!--eof branding display-->.

18 Sep 2007, 9:57 PM
#3
blakemiller avatar

blakemiller

New Zenner

Join Date:
Oct 2005
Posts:
57
Plugin Contributions:
0

Re: Moving Home/Login/Search div UNDER the Header

gjh42:

Edit /includes/templates/your_template/common/tpl_header.php, and move the block of code in <!--b/eof navigation display--> tags to below the <!--eof branding display-->.

Perfect, that was it. (I thought I saw that in one of teh KB / FAQ's, but now it's quite obvious)

One more thing (I hope, on this issue) I can't find what is driving the small white space between the LogoWrapper and the navMainWrapper? There are no top/bottom margins/padding that i can see, but why is there a gap of about 20px and how do i get rid?

Thanks again,
Blake

18 Sep 2007, 11:07 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Moving Home/Login/Search div UNDER the Header

The standard answer to this problem is to change the
<br class="clearBoth" />
just above

<!--eof-branding display-->

to

<div class="clearBoth" ></div>
19 Sep 2007, 11:02 PM
#5
blakemiller avatar

blakemiller

New Zenner

Join Date:
Oct 2005
Posts:
57
Plugin Contributions:
0

Re: Moving Home/Login/Search div UNDER the Header

Perfect, that did it - thanks!

7 Oct 2009, 5:47 PM
#6
missinglife avatar

missinglife

Zen Follower

Join Date:
Apr 2009
Location:
Portland, OR
Posts:
104
Plugin Contributions:
0

Re: Moving Home/Login/Search div UNDER the Header

just making note, for my record, in case I have the same issue again.