WordPress.org

Support

Support » How-To and Troubleshooting » How do I switch the sidebar (widgets) to opposite side?

How do I switch the sidebar (widgets) to opposite side?

  • Hi! Was just wondering if anyone knows how I go about switching the sidebar (i.e all the widgets) from the right to the the left side. I am using the default (Kubrick) theme.

    Thanks in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Just move the following code in your theme files:
    <?php get_sidebar(); ?>

    You’ll have to adjust CSS too.

    You can also do it just with CSS positioning… a little bit of advanced CSS knowledge here.

    So I moved the <?php get_sidebar(); ?> to before the <div id=”content” class=”narrowcolumn”> command under the PAGE TEMPLATE PHP.

    Was that correct?

    Nothing changed yet.

    That’s probably because I havent changed anything in the CSS. Can you describe what I have to do there?

    I will be indebted to you forever. lol

    Yup the first par was correct. Now you have to play with CSS to get things right.

    Look for:

    /* Begin Sidebar */
    #sidebar
    {
    	padding: 20px 0 10px 0;
    	margin-left: 545px;
    	width: 190px;
    	}

    Note that you’ll probably have to play with some other IDs or classes to not break the layout.

    Can anyone give me more detailed instructions on how to switch the sidebar from the right to the left side in the Kubrick design? Its very important that this get done…

    Im a newbie.

    Heres the site: http://www.thehocker.com

    Thanks and God Bless.

    kmessinger
    Moderator

    @kmessinger

    A pretty easy google search brings up this site. Note it has a movie on how to do what you want.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How do I switch the sidebar (widgets) to opposite side?’ is closed to new replies.