Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2005
    Posts
    29
    Plugin Contributions
    0

    Default Category Box top margin

    I think I am in the right place, should be a CSS question. I want my side box catergries to touch (meet) with the header logo (eg margin-top:0px;), but I can not find where to make the changes.

    Please have a look at the screeen shot .... can not give a link as it is on local server.

    http://www.thingsonline.com.au/cart/problem1.png

    Thanks heaps

    Trevor

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

    Default Re: Category Box top margin

    As you can not provide a direct look - the answer will also be not as direct - this can be several things and they are all in the stylesheet.css file.

    Look for padding and/or margins for sideboxcontainer, the columnone & two that they are contained in and so forth...as you are local, you can change this quickly and view the affect....make a backup of the file first and hack away - you can always replace it with the original.
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Aug 2005
    Posts
    29
    Plugin Contributions
    0

    Default Re: Category Box top margin

    OK, I seemed to fix it, but not sure if this will cause any problems ....

    In tpl_header.php line 93 .....

    <br class="clearBoth" />

    Remove this and of course the gap closes .... does anybody know what will be, of if there will be any problems if this is removed? If so, what else can I do.

    Thanks

    Trevor

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

    Default Re: Category Box top margin

    This is all in the stylesheet.css file
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Aug 2005
    Posts
    29
    Plugin Contributions
    0

    Default Re: Category Box top margin

    Not sure what you mean "This is all in the stylesheet.css file".

    The "<br> caused the space in <br class="clearBoth" /> ... is there something I am missing? I know the "clearboth" is in the css file but not sure what it does.

    Thanks

    Trevor

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

    Default Re: Category Box top margin

    Not sure what you mean "This is all in the stylesheet.css file".
    I mean exactly what was stated...You asked "I want my side box catergries to touch (meet) with the header logo" and this is best controlled through the css.
    Sample Below

    Code:
    .leftBoxContainer, .rightBoxContainer {
    	margin: 0em;
    	border: 1px solid #9a9a9a;
    	border-bottom: 5px solid #336633;
    	margin-top: 1.5em;
    	}
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Can't add margin to category-top in nav area.
    By scott_see in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Oct 2009, 11:58 PM
  2. How to Remove Top Margin space in Left Category Box
    By cevans73 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Aug 2008, 04:36 PM
  3. Top category box
    By Mortenjan in forum Basic Configuration
    Replies: 0
    Last Post: 19 Jun 2008, 03:32 AM
  4. Top Margin?
    By mommydesigns in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 5 Feb 2007, 01:42 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