Forums / Cotonti / Support / news post templates

Trustmaster
#34686 2012-06-13 20:40

You may go hardcore and use IF statements to apply different styles on posts from different categories, e.g.:

<!-- IF {PAGE_ROW_CAT} == 'foo' -->
<div class="foober">
...
</div>
<!-- ENDIF -->
<!-- IF {PAGE_ROW_CAT} == 'bar' -->
<div class="barber">
...
</div>
<!-- ENDIF -->

This solution is ok if there aren't many categories of course.

May the Source be with you!