• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Threads color

Hello Everyone.
Am new in Xenforo and am not so familiar with the software.

Id like to have the first and the third thread one color and the second and forth thread different color:

Also id like to make this on the thread inside:

Thank you! I have changed the posts but cant find for threads.

I have tried this but wont work:

.thread:nth-child(even) {
background-color: #F7F7F7;


XenForo moderator
Staff member
The class you would need to use is discussionListItem .

I doubt it is possible for threads though as they aren't in sequential order so won't be odd-even-odd.
Thank you Brogan for the answer.

I have added this:

Last edited:


Well-known member
And if you want the stats column to follow suite add this to EXTRA.css

.discussionListItem .stats {
background: none !important;


Well-known member
If you are using a custom style you may need to add !important

.discussionListItem:nth-child(odd) {
background-color: #f0f7fc !important;
Thejackarmy posted the right solution thank you!

If someone have added another color for the threed the color of the sticky will change also.... So you have to add this so you can have different color for the sticky:

.sticky:nth-child(even) {
background-color: #FCFFDA !important;
border: 1px solid #F39D00 !important;