Comment numbering

  • Author
    Posts
  • #34112
    the bsbrb

    I’m trying to number comments via this custom CSS:

    .comment-list {
         counter-reset: parabola_comment;
    }
    .comment-body {
         counter-increment: parabola_comment;
    }
    .comment-body:before {
         content: counter(parabola_comment, decimal);
    }

    but it returns ‘1’ for every comment. Can you help please? Thanks.

    #34153
    Zed
    Cryout Creations mastermind

    .commentlist {
    doesn’t have a dash in the identifier.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #34205
    the bsbrb

    Excellent. Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Comment numbering’ is closed to new replies.