SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Addict sdamos's Avatar
    Join Date
    Sep 2003
    Location
    Arizona
    Posts
    275
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Center and adjust width of sidebar

    Example page - http://terrywestbuilders.com/?page_id=42

    Anyone know how to center that widget and/or adjust the width of the sidebar?

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,598
    Mentioned
    411 Post(s)
    Tagged
    6 Thread(s)
    One option would be (line 956f):

    Code:
    .widget-wrapper {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    background-color: #F9F9F9;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    margin: 0 0 20px;
    padding: 20px;
    width: 200px;
    float: right;
    }

  3. #3
    SitePoint Addict sdamos's Avatar
    Join Date
    Sep 2003
    Location
    Arizona
    Posts
    275
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wait, that aligned it, but also the footer. I had to remove the code. I just want to change the sidebar content and your changes were made on the widget-wrapper. Suggestions for just the default template sidebar that I am using on those pages?

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,598
    Mentioned
    411 Post(s)
    Tagged
    6 Thread(s)
    Quote Originally Posted by sdamos View Post
    Wait, that aligned it, but also the footer.
    Oops. You could try this instead:

    Code:
    #facebook_widget-2{
    width: 200px;
    float: right;
    }

  5. #5
    SitePoint Addict sdamos's Avatar
    Join Date
    Sep 2003
    Location
    Arizona
    Posts
    275
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There we go. Thank you.


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
  •