Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Posts
    57
    Plugin Contributions
    0

    Default 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?

    www.sdri.net/shop

    Thanks,
    Blake

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

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

  3. #3
    Join Date
    Oct 2005
    Posts
    57
    Plugin Contributions
    0

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

    Quote Originally Posted by gjh42 View Post
    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

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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>

  5. #5
    Join Date
    Oct 2005
    Posts
    57
    Plugin Contributions
    0

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

    Perfect, that did it - thanks!

  6. #6
    Join Date
    Apr 2009
    Location
    Portland, OR
    Posts
    106
    Plugin Contributions
    0

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

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

 

 

Similar Threads

  1. Moving Home/Login in the header
    By Amabelle in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 24 May 2011, 01:25 AM
  2. Home/Login header. Moving it down from the top?
    By dolph lundgren in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 10 Mar 2011, 07:15 AM
  3. Removing 'Home' 'Login under logo header
    By lilguppy in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 31 Jan 2010, 07:47 PM
  4. Move 'Home Login' under header?
    By pandafia.com in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Dec 2007, 07:10 AM
  5. Moving 'Home | Log In', search bar, etc under header image
    By v.kirk in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 13 Jul 2006, 11:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg