| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Unique class for a left bar category link | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi
Just wondering if anyone knows a way I can specify a unique class style for one of the left bar category links? I want to make one of them more prominent (i.e. different spacing and a different colour etc.). I'm using flyout menus and can see an IF statement that styles and icon (icon-link) when icons are set to show for the category list. Any one know if there's a similar IF statement that can provide a different class for a particular category link? ..... Or something else that could create a new class for that one link? thanks
__________________
4.4.3 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Like {if $catid eq 99} class="unique"{/if} ?
|
|||||||||
|
#3
|
|||||||
|
|||||||
![]() Thanks for the reply, yep similar to that.
For the sake of a resolved forum post I went for: {if $c.categoryid eq 286}rep-sub-cat{/if} in the end which works fine. This sits within the existing: <a href="home.php?cat={$catid}" class="{if $config.Flyout_Menus.icons_icons_in_categories gte $level+1}icon-link{/if}{if $config.Flyout_Menus.icons_disable_subcat_triangle eq 'Y' and $c.subcategory_count gt 0} sub-link{/if}{if $config.Flyout_Menus.icons_empty_category_vis eq 'Y' and not $c.childs and not $c.product_count} empty-link{/if}{if $config.Flyout_Menus.icons_nowrap_category ne 'Y'} nowrap-link{/if}"> in the flyout menus module template: /common_files/modules/Flyout_Menus/Icons/fancy_subcategories.tplif images are switched off in flyout menus module configurations.
__________________
4.4.3 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|