December 10, 2008
Last week I heard about the difficulties that themers face in trying to effectively style the new threaded comments. There are a lot of nested lists and div tags, the hcard microformat for the commenter’s details and variable classes to give you a lot of styling options. On the surface they can seem pretty confusing but when you lay them out it is actually quite straightforward. The image below contains a breakdown of the html elements, the IDs and the classes that are applied to the various parts of the default 2.7 comment output.

Where a number is inserted I have used n. For example, comment-n, or depth-n. It is also worth noting that many of classes are variable, that is, even/odd, byuser, bypostauthor, and so on will only be the case if the comment is numbered odd or even, if a user has commented, if the post author has commented. There are a number of other classes like this. It should be clear which ones are which.
In the main image about I haven’t included all the detail of the comment form itself. I have included that in here:

If you have any questions or comments on this on this please let me know.
Wordpress Chat
3 comments
page 1308
Post Image The Easy Peasy Way
26 comments
page 1065
Post Image The Easy Peasy Way
26 comments
page 1065
Using Your Own Url Shortener
4 comments
page 1190
Using Your Own Url Shortener
4 comments
page 1190
Html 5 Gallery
6 comments
page 1305
Updating Code Snippets Here
no comment
page 1338
Dont Mess With My Toot Toot
15 comments
page 599
Dont Mess With My Toot Toot
15 comments
page 599
Post Image The Easy Peasy Way
26 comments
page 1065
Post Image The Easy Peasy Way
26 comments
page 1065
Post Image The Easy Peasy Way
26 comments
page 1065
Photoshop Design Framework
3 comments
page 296
Updating Code Snippets Here
no comment
page 1338
Post Image The Easy Peasy Way
26 comments
page 1065
Quick N Dirty Admin Login Screen
no comment
page 128
Quick N Dirty Admin Login Screen
no comment
page 128
Wp Polls Reviewed
one comment
page 58
Post Image The Easy Peasy Way
26 comments
page 1065
Wordpress Chat
3 comments
page 1308
Photoshop Design Framework
3 comments
page 296
Post Image The Easy Peasy Way
26 comments
page 1065
Are Child Themes The Best Option
15 comments
page 1262
Are Child Themes The Best Option
15 comments
page 1262
Why I Ditched Disqus
5 comments
page 1175
Post Image The Easy Peasy Way
26 comments
page 1065
Are Child Themes The Best Option
15 comments
page 1262
1 query every 1067 seconds, updated 1 seconds ago.
(__)
`
Wordpress 2.7 ??????? – Betty
[...] ??????????????????????? Wordpress 2.7 ?????????????????????????????????????????????????????? ^^ [...]
(__)
`
Slimmity
thanks alot :D now hope i can finaly finishi my them :)
(__)
`
Andrew Rickmann
Slimmity, I have added the content that is added when you hit reply in Orange on the main form, then the detail of the form itself in pink below it.
(__)
`
Slimmity
how about the comment form that is moved to the reply dive once you hit the link.. im having problems with that part :S