Thread: Margins

Results 1 to 10 of 10
  1. #1
    Join Date
    Dec 2008
    Posts
    12
    Plugin Contributions
    0

    Default Margins

    I would like to add 15px of space in between each section of my site. For example... 15px between the left sidebar and the center contents...etc. I have tried a few things in the stylesheet but to no avail. Can anyone steer me in the right direction as far as where and what code to change the margins on? Thanks!

    --Brian

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

    Default Re: Margins

    Brian,

    This is all in the stylesheet and can be template specific and we can not see your site

    Post a link to it
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Dec 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Margins

    Quote Originally Posted by kobra View Post
    Brian,

    This is all in the stylesheet and can be template specific and we can not see your site

    Post a link to it
    I've just started messing with it so there is still a whole lot on there that I need to remove and change but here is where I am for now: I started with the template_default.

    http://www.thirteen20performance.com/novel

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

    Default Re: Margins

    You appear to have sussed the left & right columns through width settings
    For the center I suggest you use the following
    Find this in your stylesheet and seperate in to it's own the .centerColumn to end as last posted
    Code:
    .centerColumn, #bannerOne, #bannerTwo,  #bannerThree,  #bannerFour,  #bannerFive,  #bannerSix {
    	padding: 0.8em;
    	}
    Code:
    .centerColumn {
            text-align: center;
    	}
    
    #bannerOne, #bannerTwo,  #bannerThree,  #bannerFour,  #bannerFive,  #bannerSix {
    	padding: 0.8em;
    	}
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Dec 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Margins

    Thanks again kobra, I definitely needed to center that column. Do you know where to manipulate the code that would control the gaps in between the left/center/right containers?

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

    Default Re: Margins

    It would be better if you describe your issue in detail. Stating "gaps between containers", while you know what you are seeing & wanting to change we do not.
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Dec 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Margins

    Ok on my site right now I have from left to right: Black Left Sidebar, white contents (center), and the black right sidebar.

    I would like to have black left sidebar, 15px space (where the background gray of the page is showing), white center contents, followed by another 15px gap, and then the black right sidebar. I'm sorry if I am being confusing. I just don't want the different parts of my site to touch each other....I'd like to have a space in between each. Does this help out a little more? Let me know if I can explain it a little better.

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

    Default Re: Margins

    Well you really so not have a gray background anywhere BUT try editing/adding the following to your stylesheet and see if I am understanding what you are explaining
    Code:
    /*sideboxes*/
    .columnLeft {border: 15px solid #9a9a9a;}
    .columnRight {border: 15px solid #9a9a9a;)
    Zen-Venom Get Bitten

  9. #9
    Join Date
    Dec 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Margins

    This link may not work correct in firefox but it may work in internet explorer. You can see what I am trying to accomplish with the spacing in b/ween the sidebars and contents area on this page.

    http://www.thirteen20performance.com/worx27.html

    The gray I was talking about on my page is the dark gray background.

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

    Default Re: Margins

    Start with these and find in your stylesheet and edit to match & see what is then missing

    Code:
    .centerColumn  { 
            background-color: #000000;
    	text-align: center;
    	}
    
    .leftBoxContainer {
    	border: 2px solid #9a9a9a;
    	margin-top: 1.5em;
    	}
    
    .sideBoxContent {
    	background-color: #000000;
    	padding: 0.4em;
    	}
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. v151 Attribute Margins
    By bocahydro in forum Setting Up Categories, Products, Attributes
    Replies: 18
    Last Post: 21 Oct 2014, 12:56 PM
  2. Changing Margins
    By karenkte in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 May 2012, 01:39 PM
  3. template margins
    By artistic in forum General Questions
    Replies: 1
    Last Post: 5 Aug 2009, 07:53 PM
  4. Side Margins
    By silentpanic24 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Oct 2007, 01:12 AM
  5. margins messed up
    By pettiger15 in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 6 Nov 2006, 07: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