tmcom Posted November 11, 2020 Posted November 11, 2020 Or every second subject column is a slightly darker shade, (this was Photoshopped, they are currently all the same shade). I have tried in vain to find this, but maybe l have missed it.
WP V0RT3X Posted November 11, 2020 Posted November 11, 2020 What you are looking for is called "Zebra". With the search function of this site you should find some topics how to create that effect. Joachim Sandstrom and tmcom 1 1
RocketStang Posted November 11, 2020 Posted November 11, 2020 53 minutes ago, tmcom said: Or every second subject column is a slightly darker shade, (this was Photoshopped, they are currently all the same shade). I have tried in vain to find this, but maybe l have missed it. This is what I use on my default theme...just copy and paste this code into your theme's custom css file: /** * Zebra Stripes. */ .ipsDataList.ipsDataList_zebra .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; /* change this to any HEX color code you want. */ } Change #fafafa to what ever color you want! Kenneth Baker and tmcom 2
Recommended Posts