WordPress.org

Ready to get started?Download WordPress

Forums

Moving my sidebar to the right (5 posts)

  1. yuppiepunk
    Member
    Posted 9 years ago #

    I'd like to move my sidebar from the left side of the page to the right side of the page. I tried adjusting the float command of the sidebar in my css file, but this left the margins all screwed up. Can anyone help? Here's my work in progress:
    http://www.yuppiepunk.org/wordpress/index.php

    Thanks!

  2. YardOBeef
    Member
    Posted 9 years ago #

    I'm not sure if this will work, but you can try the following. Bold items are changes. I also deleted some of the position: relative; entries.

    #content {
    width: 420px;
    margin: 0;
    background: #fff;
    text-align: justify;
    float: left;
    }

    #sidebar {
    float: right;
    width: 180px;
    padding: 0px;
    background: #fff;
    text-align: justify;
    font-family: Trebuchet MS;
    color: #000;
    font-size: 8pt;
    line-height: 11pt;
    }

    #footer {
    font-size: 7pt;
    color: #000;
    top: 5px;
    width: 700px;
    margin: 5px 0;
    clear: both;
    }

  3. yuppiepunk
    Member
    Posted 9 years ago #

    YardOBeef-- that totally worked. Many thanks. Amen for the WordPress forums! A newbie's best friend.

  4. pineapplemike
    Member
    Posted 8 years ago #

    wow, i've been trying to figure this out forever! thanks...i always forgot about the comment css.

  5. GarthP
    Member
    Posted 8 years ago #

    Question please. Which .css file are you referring to?

    Thanks. :-)

    Cheers,
    Garth P.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.