I'm listing 3 news article summaries on my home page in 3 CSS columns, the third column needs an added style 'nomargin' how can I detect the third article in my template to apply the additional style?
Have tried to use itemcount but this obviously isn't correct.
Code: Select all
{if $itemcount == 3}
<div class="newscol nomargin">
{else}
<div class="newscol">
{/if}
Chris