WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Move default 2011 sidebar to the left side in Child Theme (3 posts)

  1. befree22
    Member
    Posted 2 years ago #

    Hi,

    I have a 2011 child theme on http://www.rcrumbcom.dreamhosters.com/ and I'd like to move the default sidebar positioned on the right side of the page to the left side of the page.

    How do I do this? I just added code from http://www.transformationpowertools.com/wordpress/page-template-sidebar-overwrite-theme-options-twenty-eleven so that I can add a right sidebar or left sidebar to static pages. Hence, in wp admin I set all sidebar templates for the left side of the page. :)

    However, there's no 'Home' page in wp admin so I'd like to know which code or file I have to add to my child theme to move the sidebar left.

  2. befree22
    Member
    Posted 2 years ago #

    I think I got it to work by changing the float element to 'left' but I'll wait and see...

    #secondary {
    float: left;
    margin-right: 7.6%;
    width: 18.8%;
    }

    Oh, how I love WordPress,
    Oh, how I love Wo od press...
    ...

  3. befree22
    Member
    Posted 1 year ago #

    FYI: I've found it easier to use this code to add the sidebar to 2011 child theme using this code
    http://www.transformationpowertools.com/wordpress/twenty-eleven-sidebar-on-single-posts-and-pages instead of adding page templates for left and right sidebars.

    The code will place the sidebar on the same side of the page as the index/homepage. If you want to customize your sidebar locations then I suggest using the page templates for the left and right sidebars.

    View topic here:
    http://wordpress.org/support/topic/how-to-add-sidebar-to-twenty-eleven-child-theme-pages?replies=6

Topic Closed

This topic has been closed to new replies.

About this Topic