How can I fix the even/odd classes on a custom comment template?
-
I’m using a slightly modified version of a custom comments template found here. The style I have in mind for comments are this:
EDIT: Turns out the spaces didn’t keep. Child comments are italics.
-1
-1
-2
-3
-2
-3AKA I want the child comments to be even/odd, but I want the main thread comments all to be alike. My problem is that when a new comment is added at the top, the child comments get offset. So instead of being the above, it turns into:
-1
-1
-2
-3
-2
-3Which is undesirable. How can I make it so the child even/odd classes are unaffected by new main comments?
Thanks.
- The topic ‘How can I fix the even/odd classes on a custom comment template?’ is closed to new replies.