Page 1 of 4 123 ... LastLast
Results 1 to 10 of 35
  1. #1
    Join Date
    Jul 2011
    Posts
    104
    Plugin Contributions
    0

    Default Space between headerWrapper and logoWrapper

    1.3.9h

    I am trying to eliminate unwanted spaces. See below.

    [SCR]http://i56.tinypic.com/10qb86x.jpg[/scr]

    I made the mainWrapper background color Gray temporarily.

    I made each element a different background color so I could see what is going on. That is how i discovered the unwanted spaces.

    Anybody know what controls this? I'd like to eliminate all the Gray spaces, except where the page content will appear.

    Last edited by Kim; 4 Oct 2011 at 12:34 AM.

  2. #2
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Space between headerWrapper and logoWrapper

    I think that if you go in to Admin/Configuration/Layout settings and set Define Breadcrumb Status to 0, the space next to "home" will go away. Of course, so will "home".

  3. #3
    Join Date
    Jul 2011
    Posts
    104
    Plugin Contributions
    0

    Default Re: Space between headerWrapper and logoWrapper

    It's not my intention to get rid of the breadcrumb menu.

  4. #4
    Join Date
    Jun 2008
    Posts
    627
    Plugin Contributions
    0

    Default Re: Space between headerWrapper and logoWrapper

    If I remember correctly the space above the left column is set by margin in the stylesheet. View source or inspect element to see which ID or class it is.

    Depending on the template you are reworking the other spaces may be taken care of by removing <br class="clearBoth" /> from those specific areas.

    /includes/templates/CUSTOM_TEMPLATE/common/tpl_header.php

    Removing <br class="clearBoth" /> can sometimes have undesirable effects so keep checking on your changes and take note of where you made your change in case you need to restore.

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

    Default Re: Space between headerWrapper and logoWrapper

    Sometimes changing <br class="clearBoth" /> to <div class="clearBoth"></div> will help with the spaces.

    The stock /classic/ stylesheet rule that gives the sidebox spacing is
    Code:
    .leftBoxContainer, .rightBoxContainer {
    	margin: 0em;
    	border: 1px solid #9a9a9a;
    	border-bottom: 5px solid #336633;
    	margin-top: 1.5em;
    	}
    Eliminate the margin-top if you want all sideboxes to touch, or add a new rule for whatever sidebox is at the top of the column if you only want to close the top gap:
    Code:
    #categories {margin-top: 0;}

  6. #6
    Join Date
    Jul 2011
    Posts
    104
    Plugin Contributions
    0

    Default Re: Space between headerWrapper and logoWrapper

    Ok I copied tpl_header.php to 'common' in my template folder. I found both instances of <br class="clearBoth" />

    I commented out both, but the one between headerWrapper and logoWrapper messed up the layout:



    Commenting out the second instance achieved the desired result and now there's no space between logoHeader and the Categories bar.

    I corrected the first instance and I'm part way to my goal.



    I'll check the margins in the CSS next.

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

    Default Re: Space between headerWrapper and logoWrapper

    Ok found the Margins in the CSS and corrected more of the problem.

    There are still a few outstanding spaces left:



    Anybody know where the code that controls these Gray areas is?

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

    Default Re: Space between headerWrapper and logoWrapper

    It's a lot easier to advise correctly for your site when we can see it live.

    There may be padding or possibly margins in various locations.

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

    Default Re: Space between headerWrapper and logoWrapper

    Ok i found the navColumnOneWrapper and navTwoColumnWrapper margins and set them to 0em.

    BUT, I still havent solved the problem in the title of this thread.

    Can anyone help me get rid of this useless empty space?




  10. #10
    Join Date
    Jun 2008
    Posts
    627
    Plugin Contributions
    0

    Default Re: Space between headerWrapper and logoWrapper

    that may be the #navMainWrapper top margin.

 

 
Page 1 of 4 123 ... 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