Results 1 to 6 of 6
  1. #1
    Join Date
    May 2006
    Posts
    33
    Plugin Contributions
    0

    navbar/header help for newbie

    Hello all, this is my first post and I am a little clueless so hopefully someone here can help me out. I have downloaded Kuroi's excellent future_zen template and with the help of the forums and wiki I have had some success in customising it. I've swopped the position of the main navbar and the header (forgive me if I get the terms wrong, still new to this) but as you can see if you follow the link, there is now an odd space between the two which I would like to get rid of.

    http://liquorice-allosaurs.com/Zencart/

    I've had a rummage in the stylesheet with no great success - whatever I do, the space remains. How do I get these two things snuggled up together? I dont really understand how to code at all so would be greatful for any help. I've had a really good look round the support forum but couldnt see anything that would help - apologies if this has already been covered. Cheers!!!!

    Pat

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: navbar/header help for newbie

    In your tpl_header.php

    just above this line

    <!--eof-branding display-->

    delete this:
    <br class="clearBoth" />

    That should get rid of the space.

  3. #3
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: navbar/header help for newbie

    Quote Originally Posted by Pat Allosaurs
    Hello all, this is my first post and I am a little clueless so hopefully someone here can help me out. I have downloaded Kuroi's excellent future_zen template and with the help of the forums and wiki I have had some success in customising it. I've swopped the position of the main navbar and the header (forgive me if I get the terms wrong, still new to this) but as you can see if you follow the link, there is now an odd space between the two which I would like to get rid of.

    http://liquorice-allosaurs.com/Zencart/

    I've had a rummage in the stylesheet with no great success - whatever I do, the space remains. How do I get these two things snuggled up together? I dont really understand how to code at all so would be greatful for any help. I've had a really good look round the support forum but couldnt see anything that would help - apologies if this has already been covered. Cheers!!!!

    Pat
    For somebody claiming to be a little clueless, I'd say you've had great success in customising.

    You actually have two white bars, but you probably quite like one of them (i.e. the less obvious one below the nav bar). Having edited the tpl_header.php file, you may have noticed a couple of <br class="clearBoth" /> tags. I believe that they're there as breakers to stop errant bits of code floating upwards, but alas they can sometimes become unfortunately visible.

    You can do two things:

    Either delete the one that you don't like from the header file as the div above it is full width anyway so nothing should ride up (and even if it does it's easily fixable).

    or

    You can set a negative margin-top for the navbar which would force it up and over errant white space.

    (As an aside, I was originally planning to switching the logo and navbar areas in the Future Zen template, as its the first thing I always do myself, and is so frequently asked about on this forum. But then I realised that it was also a very standard and useful introduction to amending the template files for new users. All credit to you for achieving this under your own steam instead of simply posting a question asking how.)
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  4. #4
    Join Date
    May 2006
    Posts
    33
    Plugin Contributions
    0

    Idea or Suggestion Re: navbar/header help for newbie

    Aha, thank you! Done and dusted! I am getting there now...
    I've just been following instructions I've found on the forums, or changing things about a bit myself to see what will happen, I am learning lots by doing it that way, the penny drops a bit more every time I try a new thing out. Now I'm going to play with the footer, so when I've stuffed that up I'll probably be back!

  5. #5
    Join Date
    May 2006
    Posts
    33
    Plugin Contributions
    0

    Default Re: navbar/header help for newbie

    Quote Originally Posted by clydejones
    In your tpl_header.php

    just above this line

    <!--eof-branding display-->

    delete this:
    <br class="clearBoth" />

    That should get rid of the space.
    Many thanks for that, I did exactly what you suggested and it worked a treat.

    Cheers!!!

    Pat

  6. #6
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: navbar/header help for newbie

    not at all. Glad to help

 

 

Similar Threads

  1. newbie. Need store link in NavBar (to products). how?
    By rivs in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 2 Jul 2011, 02:53 PM
  2. Newbie header link help stuck
    By NYsista872 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Aug 2010, 11:52 PM
  3. NavBar under Header gone??? Please Help
    By shellbell-19 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 Jul 2009, 11:09 AM
  4. Newbie Needs Help Gender Search & Header Size
    By CRYSTALDOLL in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Jun 2009, 03:27 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