WordPress.org

Ready to get started?Download WordPress

Forums

Setting in css to move list margin to the left (6 posts)

  1. philipus
    Member
    Posted 8 years ago #

    Hello,
    I need help to locate the setting in style.css which will move the margin of the lists below Recent Posts, Categories and Monthly Archives on my site more to the left. Any ideas?

  2. Monika
    Member
    Posted 8 years ago #

    yes,
    surf to your website
    on the top of your browser you'll find *View* -->Sourcode

    it opens in a new window

    use the search function to search for a word of your sidebar --aorund that word you'll find the css tags.

    regards
    Monika

  3. philipus
    Member
    Posted 8 years ago #

    Thanks Monika. I had a look but cannot find anything. I've checked in style.css for info on what is defining that list (which is an "ordinary" ul li list). There are a few "margin" settings but none of them appears to be working...Sigh

  4. Monika
    Member
    Posted 8 years ago #

    #sidebar
    margin-left 505px;

    try
    margin-left 68%

    or margin-left 70%

    or
    #sidebar ul
    margin 0px;

    with the correct { }
    and the : after margin;-)

    regards
    Monika

  5. syrupcore
    Member
    Posted 8 years ago #

    negative margins work too if you need them.

  6. philipus
    Member
    Posted 8 years ago #

    Groovy, what I had to do was this:

    #sidebar ul li {
    margin-left:-17px;
    }

    MANY THANKS to both of you!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.