Jump to content

Featured Replies

Posted

This got lost in the 4.5 upgrade.

  • 7 months later...

Hi bpn.

You can do it like this:

li.ipsDataItem:nth-child(odd) {
   background-color: red;
}

Preview:

zeba-ios-community.png.85072f49bf244fa66450cb6264a30843.png

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;
}

 

  • Community Expert
 

Does this work? I

Yes, this is a 4.6 forum:

AO9k9KX.png

Recently Browsing 0

  • No registered users viewing this page.