X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Suggestions on making a Category stand out (https://forum.x-cart.com/showthread.php?t=50862)

Lock15 11-20-2009 07:44 AM

Suggestions on making a Category stand out
 
We use the Fancy Categories flyout menu and the styles are set to accommodate the look of the entire product category. What I want is to have only one of our product categories menu list to have a highlighted color. Everything else can remain the same, but I want the one category to have a set top color, is this possible?

I read about having more than one menu, which is a possibility. The other would be to add something like a * before the category name.

ARW VISIONS 11-20-2009 07:51 AM

Re: Suggestions on making a Category stand out
 
add an if stament to you cats menu

{if $cat eq"255"}*{/if}

hoosierglass 11-20-2009 08:15 AM

Re: Suggestions on making a Category stand out
 
Quote:

Originally Posted by Ashley
add an if stament to you cats menu



You are an iffy kinda guy Ash :mrgreen:

So basically you could so something like....

{if $cat eq"255"} <-------------------This
<td class="vertmenuboldcoloritem">
{/if}</td> <-------------------and this goes on each side of the call for the categories list

and set a css class for
.vertmenuboldcoloritem {
font-weight: bold;
font-size: 12px;
color: #1d3040;
}

ARW VISIONS 11-20-2009 08:44 AM

Re: Suggestions on making a Category stand out
 
could do this

{if $cat eq "255"}class="boldCat">{else}class="normalCat"{ /if}

of course change names to wahtever classes youa re using.

Lock15 12-01-2009 01:34 PM

Re: Suggestions on making a Category stand out
 
Thank you hoosierglass and Ashley! I finally got this working for the category text and rollover to display in a new color.


All times are GMT -8. The time now is 06:42 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.