SeNioR- Posted June 10, 2021 Posted June 10, 2021 Hi bpn. You can do it like this: li.ipsDataItem:nth-child(odd) { background-color: red; } Preview:
marklcfc Posted June 10, 2021 Posted June 10, 2021 Does this work? I've not upgraded but I've been using this on all 4.x versions so far .ipsResponsive_pull .ipsDataList .ipsDataItem:not( .ipsDataItem_selected ):not( .ipsModerated ):not( .ipsDataItem_new ):not( .ipsDataItem_success ):not( .ipsDataItem_warning ):not( .ipsDataItem_error ):not( .ipsDataItem_info ):not( .ipsDataItem_status ):nth-child(even) { background: #fafafa; } .ipsResponsive_pull .ipsDataList .ipsDataItem:not( .ipsDataItem_selected ):not( .ipsModerated ):not( .ipsDataItem_new ):not( .ipsDataItem_success ):not( .ipsDataItem_warning ):not( .ipsDataItem_error ):not( .ipsDataItem_info ):not( .ipsDataItem_status ):nth-child(even) { background: #fafafa; }
Adriano Faria Posted June 10, 2021 Posted June 10, 2021 10 minutes ago, marklcfc said: Does this work? I Yes, this is a 4.6 forum:
Recommended Posts