WordPress.org

Forums

[resolved] How do I add bullets on the Recent posts list? (10 posts)

  1. ibexy
    Member
    Posted 5 years ago #

    I have implemented the Recent posts widget but the list does not have bullets. How can I do this?

  2. Nutrawee
    Member
    Posted 5 years ago #

    I think it depends on your style sheet.
    Try to assign class to your list tag and create css rule for that class

    html:
    <ul class="test">
    <li>item1</li>
    <li>item2</li>
    </ul>
    
    css:
    ul.test{
     list-style: disc;
    }
  3. ibexy
    Member
    Posted 5 years ago #

    Sorry, in which file should i make this changes?

  4. Nutrawee
    Member
    Posted 5 years ago #

    I think your theme style sheet, it locates in
    wp-content/theme/(your activated theme)/style.css

    Could you tell me your web page url ?

  5. ibexy
    Member
    Posted 5 years ago #

  6. Nutrawee
    Member
    Posted 5 years ago #

    open style.css locate at
    http://www.oxbargain.com/wp-content/theme/mk3/style.css

    and add this line

    li.widget_recent_entries ul{
     list-style: disc;
    }
  7. ibexy
    Member
    Posted 5 years ago #

    I added it but it has not changed. No bullets appeared.

  8. Nutrawee
    Member
    Posted 5 years ago #

    sorry, let's try

    #content .products .widgetcase ul li.widget_recent_entries ul{
     list-style: disc;
    }
  9. ibexy
    Member
    Posted 5 years ago #

    It worked!!!
    Thank you very very much!

  10. Nutrawee
    Member
    Posted 5 years ago #

    You're welcome.

Topic Closed

This topic has been closed to new replies.

About this Topic