cz1
March 2, 2019, 8:26pm
1
I can’t seem to find the correct CSS code to make the categories alternate colors. I have it working properly for my topic list.
.topic-list-item:nth-child(odd) {
background-color: #404040 ;
}
Can someone point me in the right direction to do the same thing but for the categories page?
Do you mean a background color for the topics list in the category page? Then you should like use latest-topic-list-item
?
If you mean the categories list, then likely .category-list tr
.
5 Likes
cz1
March 2, 2019, 9:18pm
3
I’m looking to change the background color for the categories list, but I am trying to alternate the colors. Exactly like this.
cz1
March 2, 2019, 9:21pm
4
I got it, you pointed me in the right direction :).
.category-list tr:nth-child(odd) {
background-color: #404040 ;
}
3 Likes
system
(system)
Closed
April 1, 2019, 9:21pm
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.