Thread: Sidebox Padding

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Feb 2005
    Location
    New Jersey
    Posts
    646
    Plugin Contributions
    0

    Default Sidebox Padding

    I finally upgraded to 1.3.5 and I cannot get the padding on my sideboxes right. One way the text is smack up against the borders and the other, like now, leaves a gap around my images. My images are also off center in FF. IE looks okay. ACtually the whole shop is off to the right in FF. I have been messing with it for a while now and just decided to post. Any help would be appreciated. The upgraded shop is here:
    http://www.kellyscountrycorner.com/s...php?main_page=
    The link in my sig is for the original which is also a bit off on some boxes but not like this.

    Thanks in advance.
    Kelly

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Sidebox Padding

    I noticed that you are using 2 stylesheets.

    You'll have to sync the two so that whatever duplicate declarations exist have the same information.

    Since the stylesheets are "read" in alphabetical order whatever duplicates appear in your stylesheet_original.css will take precedence.

  3. #3
    Join Date
    Feb 2005
    Location
    New Jersey
    Posts
    646
    Plugin Contributions
    0

    Default Re: Sidebox Padding

    Hi,

    Thanks for the reply, but even after I delete the stylesheet_original, the problem is still there. So...I can only assume it is somewhere in the stylesheet.css which is the new one. I restored it again but see no difference. I am missing a setting somewhere. If I were to require, which I do, the table to have the background heading centered, no gap from border to text other than enough so the text isn't touching the border, like most of the boxes in my original page, what would I need to put in the css?

    Thanks,
    Kelly

  4. #4
    Join Date
    Feb 2005
    Location
    New Jersey
    Posts
    646
    Plugin Contributions
    0

    Default Re: Sidebox Padding

    Well...I just switched it over to my shop. I will continue to work on it, but I wanted the new version up. So if anyone has any suggestions on how to fix this, please let me know.
    http://www.kellyscountrycorner.com/shop/index.php

    Thanks again,
    Kelly

  5. #5
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Sidebox Padding

    One thing I did notice is that your centershop is wider than the mainWrapper.

    I'd also move the margin setting to the mainWrapper

    .centershop {
    padding: 0px;
    margin: 0px auto; /* move this to mainWrapper and set this margin to 0 */
    position: left;
    text-align: left;
    width: 760px !important; /* I'd change this to 100% */
    }

    #mainWrapper {
    background-image: url(../images/margo-whbg.jpg);
    text-align: left;
    width: 750px; /*change this 760px */
    vertical-align: top;
    }

    Try these changes and see how it looks.

  6. #6
    Join Date
    Feb 2005
    Location
    New Jersey
    Posts
    646
    Plugin Contributions
    0

    Default Re: Sidebox Padding

    Hi Clyde,

    Thanks. I tried both but it's still off. I can't seem to find it and it's driving me nuts. It's probably something very simple. But...I can't find it.

    Thanks again,
    Kelly

  7. #7
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Sidebox Padding

    #mainWrapper {
    background-image: url(../images/margo-whbg.jpg);
    text-align: left;
    width: 760px;
    margin: 0px auto; /* add auto */
    vertical-align: top;
    }

    .centershop {
    padding: 0px;
    margin: 0; /* change this to 0 */
    position: left;
    text-align: left;
    width: 100% !important;
    }

    Make sure you change these in BOTH stylesheets
    Last edited by clydejones; 10 Oct 2006 at 02:51 AM.

  8. #8
    Join Date
    Feb 2005
    Location
    New Jersey
    Posts
    646
    Plugin Contributions
    0

    Default Re: Sidebox Padding

    HI Clyde,

    I think I have it in both files now. I added the auto as well. My sidebox headers are still off though.

    Thanks again,
    Kelly

  9. #9
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Sidebox Padding

    I just copied the following from the source of your page.

    Code:
    <body id="indexBody">
    
    <div id="mainWrapper">
    
    
    
    <!--bof-header logo and navigation display-->
    <body background="images/margo-grnbg.jpg">
    /* This body tag is not necessary */
    Not sure why you have 2 "body tags".

    Go through your tpl_header.php and delete it.

    You can add the background image in the body tag in your stylesheet.css.

  10. #10
    Join Date
    Feb 2005
    Location
    New Jersey
    Posts
    646
    Plugin Contributions
    0

    Default Re: Sidebox Padding

    I'm not quite sure why either...
    I removed the one from the tpl header and added it to the css.

    Thanks,
    Kelly

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Left Sidebox Padding Question
    By nolsowski in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 1 May 2011, 05:17 PM
  2. Change padding on a single sidebox
    By MickeyDora in forum Basic Configuration
    Replies: 5
    Last Post: 30 Apr 2010, 04:43 AM
  3. category sidebox margin/padding
    By compwhizmm in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 31 Oct 2007, 09:56 PM
  4. Sidebox padding
    By Danielle in forum Basic Configuration
    Replies: 4
    Last Post: 11 Dec 2006, 05:51 PM
  5. FF right sidebox padding issue
    By oracle86 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Oct 2006, 09:53 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