View Single Post
  #8  
Old 07-16-2010, 08:18 AM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: Changing the background color based on Category

Code:
{if $bestsellers} {capture name=bestsellers} {if $cat eq '8'} <ul class="bestsellers-products-item-m"> {elseif $cat eq '10'} <ul class="bestsellers-products-item-f"> {else} <ul class="bestsellers-products-item"> {/if} {foreach from=$bestsellers item=bestseller} <li>

try that.
__________________
- Shane Munroe
Reply With Quote