por que no pruebas mediante php + css
Código PHP:
Ver original$i = 0;
while ($Qproducts->next()) { if(($i % 3 == 0) && ($i != 0))
$this->_content .= '<div style="clear:both"></div>';
$osC_Product = new osC_Product($Qproducts->valueInt('products_id'));
$this->_content .= '<div class="whats_new_cont '.$style.' estilocolor'.($i % 3).'"></div>';
$i++;
}
css
Código CSS:
Ver original.estilocolor0{
background-color:red;
}
.estilocolor1{
background-color:green;
}
.estilocolor2{
background-color:blue;
}
saludos