WordPress.org

Ready to get started?Download WordPress

Forums

Moving sidebar in Modularity lite theme (3 posts)

  1. mpedro
    Member
    Posted 2 years ago #

    Hello, I would like to know how to move the sidebar from right to left in the Modularity lite theme.
    I have tried to modify the style.css as follows:

    '/* Sidebar */
    #sidebar {
    float: left;
    width: 190px;
    }
    #sidebar {
    margin: 0;
    }
    #sidebar h3 {
    margin: 0;
    padding: 0 0 .6em 0
    }'

    but nothing changed!!
    Thanks in advance

  2. miniCarl
    Member
    Posted 2 years ago #

    You probably have to assign "float:right;" to some other element, maybe article or #main?
    Post your index.php and style.css so we can take a closer look :)

  3. mpedro
    Member
    Posted 2 years ago #

    Here is the index.php:
    [Code moderated as per the Forum Rules. Please use the pastebin]

    and the style.css:
    [CSS moderated as per the Forum Rules. Please just post a link to your site.]

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic