SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2006
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do I change this column width?

    I'm trying to set up a new theme in WordPress using the ComicPress plugin. I've created a child theme where I've changed the width of the default page from 780 to 960px. All works well except I *cannot* find out where the width of the righthand column is defined. At the moment it seems to be overwriting the main body of the page:
    Website is here http://www.strangenessandcharm.net any clues would be greatly appreciated.
    TIA

  2. #2
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,622
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    This rule defines it
    Code:
    #sidebar-left, #sidebar-right {    float: left;
        padding: 5px;
        width: 200px;
    
    
    }
    Always looking for web design/development work.
    http://www.CodeFundamentals.com

  3. #3
    SitePoint Enthusiast
    Join Date
    Sep 2006
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, so any idea why the grey area is 390px wide?

  4. #4
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,622
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    If you mean why is there so much space between the columns, it's because you set a gray background on the parent, "#content-wrapper". That causes all of the space to be gray.

    Now, since you have the right sidebar floated right, and the total widths of both the left and right sidebar isn't enough to touch each other, there is "whitespace" between the columns.

    Not to mention the right sidebar doesn't have a background color set .
    Always looking for web design/development work.
    http://www.CodeFundamentals.com

  5. #5
    SitePoint Enthusiast
    Join Date
    Sep 2006
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Adding colour to the right sidebar really helped. I can see what I'm doing now! thanks for your help.

  6. #6
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,622
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Glad I was able to help . You're welcome.
    Always looking for web design/development work.
    http://www.CodeFundamentals.com


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •