View Single Post
  #13  
Old 09-16-2005, 10:50 AM
 
rightminddesigns rightminddesigns is offline
 

Advanced Member
  
Join Date: Sep 2005
Posts: 33
 

Default

Quote:
Originally Posted by shirley2005
I want the current subcategory in menu to have different style, for example "Bold".
How to do this?

Thanks.

Not sure if you still need help with this, but if others are searching I would guess it would be done in this section:

Code:
{section name=subcat loop=$allcategories} {if $allcategories[subcat].parentid eq $categories[cat_num].categoryid} {$allcategories[subcat].category} {/if} {/section}

Create a class in the stylesheet to control the look you want and assign the class to the anchor tag, like this (using whatever you have named the class in the stylesheet in place of the "SubCatStyle" I used here):
Code:
{section name=subcat loop=$allcategories} {if $allcategories[subcat].parentid eq $categories[cat_num].categoryid} {$allcategories[subcat].category} {/if} {/section}

Hope that helps!
__________________
X-Cart Gold 4.0.15 on Linux machine
Modules:
Features Comparison
Product Configurator
Fancy Categories (turned off)
Reply With Quote