Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Mar 2007
    Posts
    24
    Plugin Contributions
    0

    Default Remove gap under header before body...

    I need some help please.

    I need to remove a white gap that is under the header area, before the body starts.

    I want the yellow of the body to touch the black of the header.

    I have looked all over for a place to fix this and I can't find the correct file appearantly.

    You can see it at www.tailormaidbowstrings.com/shop/

    Thank you!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Remove gap under header before body...

    You can and probably should do at leat 2 things...WWhat you have is a 'logo' or head image that is 110px tall. Here is the code in your stylesheet.css file as it currently is:
    Code:
    #headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
    	margin: 0em;
    	padding: 0em;
    	}
    I would separate the headerWrapper into its' own entry and add the 2 statements in red and adjust the color to match either the black or the yellow as you see fit and the height to match the image and/or if you desire the black line under make the color black and the height a value over 110px for the height of the line that you want like 120px??
    #headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper,
    Code:
    #headerWrapper {
    	margin: 0em;
    	padding: 0em;
            background-color: #000000;
            height: 110px;
    	}
    
    #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
    	margin: 0em;
    	padding: 0em;
    	}

  3. #3
    Join Date
    Mar 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: Remove gap under header before body...

    I gave that a try but it made things worse.

    I removed the gap, but it took the whole center section with the two yellow columns and pushed it way over to the right of the page and removed the black top nav.


  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Remove gap under header before body...

    post what you changed....

  5. #5
    Join Date
    Mar 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: Remove gap under header before body...

    After experimenting a bit more with it I have discovered that when using internet explorer, the columns line up right and the body stays put, but the very top navigation is covered up.

    When viewed with Firefox, the center (main body) is pushed way out to the right and the top navigation is messed up.

    I have placed the altered code that was suggested back into place so now you can see what it is doing.

    Thanks.

  6. #6
    Join Date
    Mar 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: Remove gap under header before body...

    removed this one post because the problem is fixed....
    Last edited by minson; 18 Mar 2007 at 02:02 PM.

  7. #7
    Join Date
    Mar 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: Remove gap under header before body...

    Ok, I have made a little progress.

    If I removed the following from the headerWrapper then everything displays correctly in both browsers.

    Code:
    height:  110px
    But, the black section between the header and main body is thicker than I want it to be.

    I am thinking I need to tweak something in the mainWrapper maybe?

    Any ideas?

  8. #8
    Join Date
    Apr 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Remove gap under header before body...

    This may or may not help you but I had the same problem and managed to move the logo up by changing this in stylesheet.css:

    Code:
    #logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
        float: left;
        }
    to this:

    Code:
    #logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
        float: left, top;
        }
    Still can't get rid of the line above the logo though I am working on it.

  9. #9
    Join Date
    Apr 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Remove gap under header before body...

    Yay I fixed it.

    This might also work for you.

    Change this:
    Code:
    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
    	margin: 0em;
    	background-color: #D5D6D8;
    	background-image: url(../images/tile_back.gif);
    	padding: 0.5em 0.2em;
    	font-weight: bold;
    	color: #ffffff;
    	height: 1%;
    	}

    Code:
    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
    	margin: 0em;
    	background-color: #D5D6D8;
    	background-image: url(../images/tile_back.gif);
    	padding: 0em 0em;
    	font-weight: bold;
    	color: #ffffff;
    	height: 1%;
    	}

  10. #10
    Join Date
    May 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: Remove gap under header before body...

    anyone know how to remove a white line above the header_bg image??(as i dont use a logo image, just a background image)..i have disabled (display: none;) the #navMain tags so that the header links (login,home etc) are disabled but there is a white (bout 5-10 px in height) line the width of the template. i think its linked with the background colour of the main wrapper and its also showing in the footer were the copyright text is.
    using classic template
    cheers
    bennythebull

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. mysterious gap under header in IE7
    By mek113 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Dec 2011, 07:03 PM
  2. Gap between header and body
    By timhersh in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 16 Mar 2011, 05:25 AM
  3. How to remove gap on header?
    By Punkristo in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Jul 2010, 06:00 PM
  4. remove gap with red bar under header
    By neotenous in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 1 Oct 2008, 12:54 PM
  5. Gap under header & sidebox
    By reversegarbage in forum Basic Configuration
    Replies: 6
    Last Post: 7 Aug 2008, 01:24 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