I'd like to add numbering to my comments, like this:

  1. comment

1.1 reply to comment

1.2 reply to comment

1.2.1 reply to reply

  1. comment

  2. comment

I'm a web pro, so I generally understand how to use CSS counters. What I haven't seen is how to extend it for depth beyond 2. I have my WordPress comments set to a depth of 5, and can't figure out how to write the CSS to display like the above example.

How do I extend the automatic numbering for each new level of depth? Thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.