Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default whitespace between header logo & nav....

    there is this annoying white space between my header logo and nav. (well, where the nav would be, but I didn't want it to show.)

    It's been there as long as I can remember and I've tried everything to get rid of it. I've gone through posts of other people having the same sort of problem, but nothing works for me.

    I can see with the dev tools that my image height is 110px and the height of the black bar is 21px, however the total height from top of the image to bottom of the black bar is 143px. I can't find what to change to fix this.

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

    Default Re: whitespace between header logo & nav....

    In your tpl_header.php file. Just after your taglineWrapper DIV and before your <!--eof-branding display--> comment is a <br class="clearBoth" /> tag. I recommend that you delete it.
    Kuroi Web Design and Development | Twitter

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

  3. #3
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: whitespace between header logo & nav....

    Quote Originally Posted by kuroi
    In your tpl_header.php file. Just after your taglineWrapper DIV and before your <!--eof-branding display--> comment is a <br class="clearBoth" /> tag. I recommend that you delete it.
    I saw this suggestion in another post and tried deleting <br class="clearBoth" /> which appeared right above <!--eof-branding display--> and it deleted my entire page and gave me some error about unexpected something or other.

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

    Default Re: whitespace between header logo & nav....

    Quote Originally Posted by khopek
    I saw this suggestion in another post and tried deleting <br class="clearBoth" /> which appeared right above <!--eof-branding display--> and it deleted my entire page and gave me some error about unexpected something or other.
    It is the solution. Try is again but be very careful not to accidentally delete anything else.
    Kuroi Web Design and Development | Twitter

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

  5. #5
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: whitespace between header logo & nav....

    Quote Originally Posted by kuroi
    It is the solution. Try is again but be very careful not to accidentally delete anything else.
    ok well after about the 10th try of deleting it.....it finally worked without giving me an error message. that was really strange

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

    Default Re: whitespace between header logo & nav....

    Strange. Glad you got there. You still have a couple of px left over in IE and might want to try the #navMainWrapper (margin-top:-2px} approach to squeeze that out as well. But the site's looking good overall.
    Kuroi Web Design and Development | Twitter

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

  7. #7
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: whitespace between header logo & nav....

    Quote Originally Posted by kuroi
    Strange. Glad you got there. You still have a couple of px left over in IE and might want to try the #navMainWrapper (margin-top:-2px} approach to squeeze that out as well. But the site's looking good overall.
    ahhh! IE. I always forget to check things in that. So I will try what you suggested. Thanks for your help!

    and actually....if you could tell me how I could make the breadcrumb links show up in that black bar, instead of where it does now, that would be awesome.
    Last edited by khopek; 7 Sep 2006 at 07:45 PM.

 

 

Similar Threads

  1. v138a Large Gap in between header image(logo) and my nav bar...
    By allanjhn in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Sep 2012, 06:37 PM
  2. moving header logo & nav bars around..
    By jvn01 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 18 Nov 2010, 04:09 PM
  3. gap between header and top nav
    By jhbs in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Mar 2009, 05:37 PM
  4. Space between Nav Bar & Content
    By knottybynature in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 26 Feb 2008, 04:50 PM
  5. Want to remove whitespace between header and contentmain
    By stevenicel in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Oct 2006, 02:46 AM

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