WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] sidebar width adjustment for WP 3.3.1 (7 posts)

  1. tumalopete
    Member
    Posted 2 years ago #

    This version of WP seems to use different syntax from all the posts I've searched to find a way to increase sidebar width. No .sidebar or #sidebar in style.css and percentage values seem to be replacing pixel counts.
    Any help would be greatly appreciated. My website is http://www.gocomga.org.
    Thanks
    Pete Glick

  2. newsdevice
    Member
    Posted 2 years ago #

    You are looking for #secondary, specifically .left-sidebar #secondary

  3. tumalopete
    Member
    Posted 2 years ago #

    OK, I was able to adjust the left margin and width, but now it's apparently too wide, and need to reduce the padding between the sidebar and main content, Can you give me a hint?
    Thanks
    Pete
    http://www.gocomga.org

  4. govpatel
    Member
    Posted 2 years ago #

    Since you using twenty eleven theme I hope you have created a child theme and made changes in child theme as the them will be overwritten when you update wordpress and you will your settings.

  5. tumalopete
    Member
    Posted 2 years ago #

    Yep - it's all good.
    Thanks
    Pete

  6. newsdevice
    Member
    Posted 2 years ago #

    Just remember the basic structure of your theme is using percentages instead of hard numbers. So, change the margin percentages for:

    - sidebar = .left-sidebar #secondary
    - content = .left-sidebar #content

    I would suggest using Chrome, or FireBug, anything that lets you view the elements of your page for making these types of changes.

  7. tumalopete
    Member
    Posted 2 years ago #

    Yes, I'm a big fan of Chrome. Thanks very much for your support.
    Pete

Topic Closed

This topic has been closed to new replies.

About this Topic