How can I mark product class titles in diffrent color codes

Ernold

Avatar: Ernold

2008-06-30 13:09

I want to make "color codes" to diffrent product classes. I have on the site: New furniture, Used furniture and II-quality furniture, so I want to mark these groups with somekind of color code. Is it possible ?
Test site: http://www.sininensika.net/YKAUPPA

» Quick.Cart v2.x

Ernold

Makaron

Avatar: Makaron

2008-07-01 09:51

Ernold try this.. In file templates/menu1.tpl in block "LIST_LIST" after code:

<a href="?p=p_$aList[iCategory]&amp;sName=$aList[sNameUrl]"

paste:

 class="l$aList[sStyle]"

so it whole should look like this:

<a href="?p=p_$aList[iCategory]&amp;sName=$aList[sNameUrl]" class="l$aList[sStyle]">

. After that in file templates/default.css paste this kind of lines:

#menu1 dt a.l1{color:red;}
#menu1 dt a.l2{color:yellow;}
#menu1 dt a.l3{color:blue;}
#menu1 dt a.l4{color:green;}
#menu1 dt a.lL{color:pink;}

lL is the last element.

Back to top
about us | contact