WordPress.org

Ready to get started?Download WordPress

Forums

Removing the comment number on comment popup (3 posts)

  1. sfdzpz
    Member
    Posted 9 years ago #

    Can't find an answer to this anywhere:
    How would i remove the number next to individual comments on wp-comments-popup.php? By that i mean the "1." or "2." next to each comment on the popup. I've been tearing my hair out over this, i gather you can do it by somehow editing wp-comments-popup.php or /wp-includes/template-functions-comment.php but i can't figure out how.
    Thanks

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    In index.php, you will have something like
    ol#commentlist
    add this:
    list-style: none;
    to that part of the css.
    If you make that 'ol' into a 'ul', the number will disappear, but it will be replaced by a bullet, unless you then style
    ul#commentlist {
    list-style: none;
    }

  3. sfdzpz
    Member
    Posted 9 years ago #

    Thanks, it worked perfectly.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.