Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Suggestions on making a Category stand out

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-20-2009, 07:44 AM
 
Lock15 Lock15 is offline
 

Member
  
Join Date: Nov 2009
Posts: 27
 

Default 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.
__________________
Richard
4.1.9 /Gold
Reply With Quote
  #2  
Old 11-20-2009, 07:51 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Suggestions on making a Category stand out

add an if stament to you cats menu

{if $cat eq"255"}*{/if}
__________________
xcart 5.1.2
Reply With Quote
  #3  
Old 11-20-2009, 08:15 AM
  hoosierglass's Avatar 
hoosierglass hoosierglass is offline
 

X-Adept
  
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
 

Default 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

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;
}
__________________
X-Cart Gold 4.7.7
Custom Work from www.luminointernet.com
www.indy-pen-dance.com
Reply With Quote
  #4  
Old 11-20-2009, 08:44 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default 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.
__________________
xcart 5.1.2
Reply With Quote
  #5  
Old 12-01-2009, 01:34 PM
 
Lock15 Lock15 is offline
 

Member
  
Join Date: Nov 2009
Posts: 27
 

Default 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.
__________________
Richard
4.1.9 /Gold
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:37 PM.

   

 
X-Cart forums © 2001-2020