cz1
2. März 2019 um 20:26
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 „Gefällt mir“
cz1
2. März 2019 um 21:18
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
2. März 2019 um 21:21
4
I got it, you pointed me in the right direction :).
.category-list tr:nth-child(odd) {
background-color: #404040 ;
}
3 „Gefällt mir“
system
(system)
Geschlossen,
1. April 2019 um 21:21
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.