myshop-color-odd:< colourcode >

Entity Value
Attribute(s) style
Type condition
Relation myshop-block:product

The myShop condition myshop-colour-odd:<colourcode> makes it possible to set the element’s text colour if the serial number of the rows is an odd number. The colour code can be displayed in the default #RGB – red, green, blue – value. The example below shows that the odd rows of the product list now have the text colour #E4EEDE.

<table border="0" style="myshop-block:productlist">
        <tr style="myshop-block:product">
                <td style="myshop-value:1;myshop-color-even:#E4E7F0;myshop-color-odd:#E7EEDE;" valign="top">1</td>
                <td style="myshop-value:2;myshop-color-even:#E4E7F0;myshop-color-odd:#E7EEDE;" valign="top">2</td>
        </tr>
</table>

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment