Showing Alternating Rows in the Content Search WebPart (Display Template)
Showing alternating rows can be done in various ways, you can do it via jQuery or even with CSS. Another way is to add an alternating class to the item via the Item Display Control. I’ll explain the last method in this post. Note: here are the references to the jQuery and CSS methods: jQuery Odd Selector - CSS Even and Odd
Read more