WordPress.org

Ready to get started?Download WordPress

Forums

Unordered Lists (2 posts)

  1. wdejesus
    Member
    Posted 2 years ago #

    Hello Everyone,

    I have been trying to do two types of unordered lists. I have one for my sidebar as a class in my CSS. For the main entry area I want a different one, I tried making the entry class have an unordered lists and it didn't happen. Does anybody know the correct way of doing this?

    Will

  2. Jeremy Herve
    Member
    Posted 2 years ago #

    Correct me if I am wrong, but from what I understand, you want your unordered lists to look different in your content and in your sidebar, right?

    In that case, you have to know the name of the containers for your sidebar and your main content area, and apply two different styles for each container, like so:

    #sidebar ul {
    list-style-type:none;
    }
    
    .content ul {
    list-style-type:square;
    }

    If you don't know the name of your containers, could you give a link to your site, or the name of the theme you are using? I could help you from there.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.