Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2006
    Posts
    184
    Plugin Contributions
    0

    Default Padding in center box

    I've spent way too much time trying to solve this on my own, so I'll just post the question. How do I add some left and right padding to the overall content area of the center box? As you can see at http://classicreissues.com/store/ind...=index&cPath=2 , I desperately need some left and right padding.

    Thanks in advance for your help.

    Vito

  2. #2
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Padding in center box

    add this to end of your stylsheet.css and see if this helps.

    .centerColumn {
    padding:0.8em 2em 0.8em 2em;
    }

  3. #3
    Join Date
    Mar 2006
    Posts
    184
    Plugin Contributions
    0

    Default Re: Padding in center box

    You're a champ, Tony. Thank you!

    Vito

  4. #4
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Padding in center box

    you welcome

  5. #5
    Join Date
    Mar 2006
    Posts
    184
    Plugin Contributions
    0

    Default Re: Padding in center box

    Tony, I'm trying to add some additional content on the home page UNDER the centerboxes (eg featured products). So in includes/templates/custom/common/tpl_main_page.php, I added

    <!--additional content below featured products-->
    <?php if ($this_is_home_page)
    { ?>
    YOUR TEXT OR CODE
    <?php } ?>
    <!-- eof additional content below featured -->

    It adds content fine, but it is all severely flush left. Any clue how to make it obey the padding rule you gave me earlier for the center column?

    Vito

  6. #6
    Join Date
    Mar 2006
    Posts
    184
    Plugin Contributions
    0

    Default Re: Padding in center box

    Aha! Never mind, worked it out. I just wrapped that additional code in one of these:

    <div class="centerColumn">
    </div>

    :)

    Vito

 

 

Similar Threads

  1. Center Padding Issue
    By tonnusser in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 25 Jun 2011, 06:34 PM
  2. Adding padding to the center box of main page
    By magazinehawk in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 31 Mar 2009, 03:22 PM
  3. Padding The Center Page
    By milobloom in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 10 Jul 2008, 11:44 PM
  4. Reduce the padding between center box and sideboxes
    By JimmyV in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 17 Mar 2008, 06:11 AM
  5. Where to change padding center box?
    By Callan in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Feb 2008, 10:54 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