Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2010
    Posts
    2
    Plugin Contributions
    0

    Default Adding Spacing to sideboxes

    If you go to this link:
    http://www.strongmamas.com/zencart

    You will see the shopping cart I am working on. My question is "How do I get it where the sideboxes are not direclty up against the side of the site? I want a little padding" Where would I look and what do I change. Thank You

    Anthony

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Adding Spacing to sideboxes

    Install the Firefox browser and the Web Developer plugin for Firefox. You can use those to see where in the stylesheet you change the styling of the various page elements.

    Ctrl-Shift-Y will allow you to hover over a section of the page and see the class and id names for that section in the box at the top. The statements in the stylesheet that begin with # are id's and the ones that begin with dots are classes.

    Ctrl-Shift-E will open the CSS editor and allow you to edit the stylesheet and see the changes in real time without changing anything permanently. An essential tool.

    Some prefer Firebug, which does much the same thing.

    in this case, you'll need to separate #navColumnOneWrapper and #navColumnTwoWrapper into their own rules and add some margin:

    #navColumnOneWrapper, #navColumnTwoWrapper, #mainWrapper {
    margin: auto;
    }


    becomes


    #navColumnOneWrapper {
    margin:0 0 0 1em;
    }


    etc.

 

 

Similar Threads

  1. Help with Spacing Sideboxes
    By daltonkost in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Mar 2010, 02:15 AM
  2. Adding images to sideboxes
    By JuzJoJo in forum Basic Configuration
    Replies: 15
    Last Post: 29 Nov 2008, 07:18 PM
  3. adding a link to sideboxes
    By umnik29 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 23 Sep 2007, 10:53 AM
  4. title spacing on sideboxes
    By bettysue in forum Basic Configuration
    Replies: 9
    Last Post: 29 Jul 2007, 10:28 AM
  5. Remove spacing between sideboxes
    By wccomp in forum General Questions
    Replies: 4
    Last Post: 9 Jul 2007, 02:40 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