WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. frumgenius
    Member
    Posted 5 years ago #

    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.

  2. alainS
    Member
    Posted 5 years ago #

    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.

  3. frumgenius
    Member
    Posted 5 years ago #

    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

  4. alainS
    Member
    Posted 5 years ago #

    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.

  5. frumgenius
    Member
    Posted 5 years ago #

    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.

  6. kmessinger
    Volunteer Moderator
    Posted 5 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.