repeating region query
OK, here's my example.
On www.haircarehq.co.uk/ my featured products are a series of divs, each row has div1, div2 and div3 as below.
.prod-a {
float: left;
width: 220px;
height: 162px;
margin-right: 20px;
margin-top: 18px;
background: url(../images/prod-bg.png);
}
.prod-b {
float: left;
width: 220px;
height: 162px;
margin-right: 20px;
margin-top: 18px;
background: url(../images/prod-bg.png);
}
.prod-c {
float: right;
width: 220px;
height: 162px;
margin-top: 18px;
background: url(../images/prod-bg.png);
}
How can I ensure that every 3rd product has class="prod-c" applied?
Thanks