Comments' style in WP

Hi.

I’m trying to customize my Comments’ style in WP (fonts, colors, borders, background, etc.).
I finally tested everything today and I found unexpected problem - It looks like my Comments’ plugin generates a new code (wrapper??) for every new comment or reply.

I wanted to use nth-child, but I’m not sure how to do that now.

This is the code:

.margin-top-40 #comments #wpcomm #wcThreadWrapper .wc-blog-post_author:nth-child(2) .wc-blog-post_author:nth-child(6) #wc-secondary-form-wrapper-7_6{
    background-color:#ffffff;
}

#wc-secondary-form-wrapper-7_6 .wc-field-comment .wpdiscuz-textarea-wrap .wc_field_input{
    background-color:#ffffff;
}

.margin-top-40 #comments #wpcomm #wcThreadWrapper .wc-blog-post_author:nth-child(3) #wc-secondary-form-wrapper-8_0{
    background-color:#ffffff;
}

.margin-top-40 #comments #wpcomm #wcThreadWrapper .wc-blog-post_author:nth-child(3) #**wc-secondary-form-wrapper-8_0** .wc-secondary-form-wrapper .wc-field-comment .wpdiscuz-item .wpdiscuz-textarea-wrap .wc_field_input{
    background-color:#ffffff;
}

.margin-top-40 #comments #wpcomm #wcThreadWrapper .wc-blog-post_author:nth-child(1) #wc-secondary-form-wrapper-3_0{
    
}


See what I mean?
wc-secondary-form-wrapper-7_6
wc-secondary-form-wrapper-3_0
secondary-form-wrapper-8_0

Basically, for every new comment or reply to a comment I’ll have to manually customize that fields.

I hope there is an easier way to do that?
Thanks!

I have moved this to the WordPress forum as you’re more likely to get help there given it relates to WP.

Can you give us the link to the site so we can take a look? Also, is there a special reason why you are using a comments plugin instead of the default comments functionality that comes with WordPress?

No, there is no special reason.
It comes with some extra options, so I thought it could be better than the default WP comment system.

Here is the link: http://supertata.net/tko-je-super-tata/#comments

You might find it easier to style the comments the way you want, if you stick to the default commenting system. It’s not as bogged down with proprietary code that is hard to crack.

How exactly do you want to style the comments?

How exactly do you want to style the comments?

I already did everything I wanted.
Currently, I just need to achieve that every new comment or reply has white background.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.