I'm playing around trying to add an icon to a specific category. I'd like to add a little sale tag image next to the sale category. It's to display all the time, just for that link and not for all the links on the sale category. LOL, for a good laugh, here's what I did
Of course, the special icon / link only shows on the sale category and it shows as every level-1 link in the nav bar. So obviously, I can't use the category code as the conditional
Code:
<li class="level-1"> <mvt:if expr="l.settings:category:code EQ 'sale'"> <span><a href="/&mvt:category:code;.html"><img src="graphics/00000001/saletag.jpg"> $ALE</a></span> <mvt:else> <span>&mvt:navigationitem:link;</span> </mvt:if>
Comment