Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 35
  1. #11
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Space between headerWrapper and logoWrapper

    No way to tell until we can see it live...
    Screenshots are useless here.

  2. #12
    Join Date
    Jul 2011
    Posts
    104
    Plugin Contributions
    0

    Default Re: Space between headerWrapper and logoWrapper

    Quote Originally Posted by buildingblocks View Post
    that may be the #navMainWrapper top margin.
    Nope

  3. #13
    Join Date
    Jun 2008
    Posts
    627
    Plugin Contributions
    0

    Default Re: Space between headerWrapper and logoWrapper

    Quote Originally Posted by Hell Guapo View Post
    Nope
    well, sorry.....I said #navMainWrapper, top margin

    and should have said #navMainWrapper top padding.

    example: red denotes top padding

    #navMainWrapper {padding:10px 5px 10px 5px;}

    may not look exactly like mine


    If that doesn't do it then.....a link...

  4. #14
    Join Date
    Jul 2011
    Posts
    104
    Plugin Contributions
    0

    Default Re: Space between headerWrapper and logoWrapper

    Well. I fixed the problem with a negative value margin for logoWrapper:



    My CSS is as follows:

    #headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
    margin: 0em;
    padding: 0em;
    }

    #logoWrapper{
    background-image: url(../images/header_bg.jpg);
    background-repeat: repeat-x;
    background-color: #FF9900;
    height:150px;
    margin-top: -10px;
    }

    But it still doesnt explain where the extra 10px gap is coming from.

    I'd like to do it without having to use a negative value for margin... Any ideas?


    losteras.com/store
    Last edited by Hell Guapo; 4 Oct 2011 at 06:29 AM.

  5. #15
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Space between headerWrapper and logoWrapper

    Get rid of your -10px margin and add this line to your stylesheet.

    #headerWrapper {background-color: #F90;}


    The 'gap' is still there, but now its the same colour as your logo wrapper - so it doesnt matter.

  6. #16
    Join Date
    Jun 2008
    Posts
    627
    Plugin Contributions
    0

    Default Re: Space between headerWrapper and logoWrapper

    try bottom padding for #navMainWrapper

  7. #17
    Join Date
    Jul 2011
    Posts
    104
    Plugin Contributions
    0

    Default Re: Space between headerWrapper and logoWrapper

    Quote Originally Posted by dgent View Post
    Get rid of your -10px margin and add this line to your stylesheet.

    #headerWrapper {background-color: #F90;}


    The 'gap' is still there, but now its the same colour as your logo wrapper - so it doesnt matter.
    I removed the -10px and tried what you said.

    Advice appreciated but the 'hidden' gap will then cause a 10px unevenness above the logoWrapper. I would be forced to use a negative padding to correct the new issue. Plus, if I decide to change the color of logoWrapper, I'd be forced to change color in two places.

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

    Default Re: Space between headerWrapper and logoWrapper

    For information, you can't do negative padding, only negative margins.

    I looked at your site and was not able to find a cause for the gap... really strange. The fixes that should have helped, didn't (except for the negative margin).

  9. #19
    Join Date
    Jul 2011
    Posts
    104
    Plugin Contributions
    0

    Default Re: Space between headerWrapper and logoWrapper

    Quote Originally Posted by buildingblocks View Post
    try bottom padding for #navMainWrapper
    Set padding-bottom to -0em and it caused the space under Home and Login to collapse within the DIV and had no effect on the Gray Mystery Space...

    For the moment I commented out the -10px fix.

    Need a ZenCart Guru to solve this please.
    Last edited by Hell Guapo; 4 Oct 2011 at 04:25 PM.

  10. #20
    Join Date
    Jul 2011
    Posts
    104
    Plugin Contributions
    0

    Default Re: Space between headerWrapper and logoWrapper

    Quote Originally Posted by gjh42 View Post
    For information, you can't do negative padding, only negative margins.

    I looked at your site and was not able to find a cause for the gap... really strange. The fixes that should have helped, didn't (except for the negative margin).
    I've look at sites posted here that had only slight variation from the standard install of Zencart and this mystery gap happens on those sites as well.

 

 
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. help: space between logowrapper & ezpagestop
    By layoyo in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 21 Oct 2008, 09:49 AM
  2. White space below logowrapper
    By Three Sisters in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 11 Aug 2008, 05:10 AM
  3. how to remove vertical space between logoWrapper and navMainWrapper?
    By jamesdavid in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 10 Jun 2008, 12:40 PM
  4. how to remove space between logoWrapper and navMainWrapper??
    By jamesdavid in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 29 May 2008, 08:12 PM
  5. Space between menu and Title
    By bigchili in forum General Questions
    Replies: 2
    Last Post: 4 Feb 2008, 09:26 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