Hi!
Thanks for your reply.
Please keep in mind that you need to remove the pagination of your table, otherwise it won’t work.
Add the following code in your custom css field ( Wp admin > SportsPress > Settings > General > Custom CSS
) and let us know how it works:
Regarding 1st link:
.post-27614 .sp-league-table tbody tr:nth-child(1) {
background: red;
}
.post-27614 .sp-league-table tbody tr:nth-child(2) {
background: red;
}
.post-27614 .sp-league-table tbody tr:nth-child(3) {
background: red;
}
.post-27614 .sp-league-table tbody tr:nth-child(4) {
background: red;
}
.post-27614 .sp-league-table tbody tr:nth-child(17) {
background: red;
}
.post-27614 .sp-league-table tbody tr:nth-child(18) {
background: red;
}
.post-27614 .sp-league-table tbody tr:nth-child(19) {
background: red;
}
.post-27614 .sp-league-table tbody tr:nth-child(20) {
background: red;
}
2nd link:
.post-24461 .sp-league-table tbody tr:nth-child(1) {
background: red;
}
.post-24461 .sp-league-table tbody tr:nth-child(2) {
background: red;
}
.post-24461 .sp-league-table tbody tr:nth-child(3) {
background: red;
}
.post-24461 .sp-league-table tbody tr:nth-child(4) {
background: red;
}
.post-24461 .sp-league-table tbody tr:nth-child(5) {
background: red;
}
.post-24461 .sp-league-table tbody tr:nth-child(6) {
background: red;
}
.post-24461 .sp-league-table tbody tr:nth-child(7) {
background: red;
}
.post-24461 .sp-league-table tbody tr:nth-child(8) {
background: red;
}
.post-24461 .sp-league-table tbody tr:nth-child(9) {
background: red;
}
.post-24461 .sp-league-table tbody tr:nth-child(10) {
background: red;
}
.post-24461 .sp-league-table tbody tr:nth-child(11) {
background: red;
}
.post-24461 .sp-league-table tbody tr:nth-child(12) {
background: red;
}
.post-24461 .sp-league-table tbody tr:nth-child(17) {
background: red;
}
.post-24461 .sp-league-table tbody tr:nth-child(18) {
background: red;
}
.post-24461 .sp-league-table tbody tr:nth-child(19) {
background: red;
}
.post-24461 .sp-league-table tbody tr:nth-child(20) {
background: red;
}
3rd link:
.post-24228 .sp-league-table tbody tr:nth-child(1) {
background: red;
}
.post-24228 .sp-league-table tbody tr:nth-child(2) {
background: red;
}
.post-24228 .sp-league-table tbody tr:nth-child(3) {
background: red;
}
.post-24228 .sp-league-table tbody tr:nth-child(4) {
background: red;
}
So overall the rule is using the post ID, then copy and paste the code for each of the rows you want to change.
Thanks!