Im a noob and have not completed a full EE website yet but I thought I had switch understood.
When I view this code in the browser every <li> has class ‘even’. What do I need to do to?
No problems with switch elsewhere in website.
// Stripped-down version:
<ul>
{exp:comment:entries}
<li class="{switch='even|odd'}">
{switch='even|odd'}
<strong>{name}</strong>
{comment}
</li>
{/exp:comment:entries}
</ul>