Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How to change Category link color in left sidebox?

How to change Category link color in left sidebox?

Views: 1,237

Results 1 to 5 of 5
14 Jul 2012, 4:43 AM
#1
rosanna avatar

rosanna

New Zenner

Join Date:
Jul 2012
Posts:
14
Plugin Contributions:
0

How to change Category link color in left sidebox?

Looking for help in changing the category link color in a sidebox (left). Appreciate your help in finding this element in the stylesheet. I have been thru it top to bottom and must have just missed it. I saw another older post that stated this was not possible, but I'm hoping that recent fixes have corrected this.

My aim is to change the color from the default green in the Classic Contemporary template in Zencart 1.3.5 to something that matches better. Thanks in advance for your help, and to all those wonderful knowledgeable helpers who post to this forum in such detail.

14 Jul 2012, 6:17 AM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: How to change Category link color in left sidebox?

It has always been possible to change the category sidebox link colors. The basic rule would be
#categories a {color: #aabbcc;}
and this can be extended for more specific situations and kinds of categories.
Seeing your site live, with a description of exactly how you want the links to behave, will let us give the best advice.

You should be using the template override system to replace the Classic template with your own custom version; read the tutorials if necessary.

The stock Classic stylesheet has rules for a.category-top and similar selectors.

14 Jul 2012, 1:04 PM
#3
rosanna avatar

rosanna

New Zenner

Join Date:
Jul 2012
Posts:
14
Plugin Contributions:
0

Re: How to change Category link color in left sidebox?

Many thanks. See video-tutorials.net; there is a side-box called "Categories" near the left-top. The links are green (yes, Classic template), but I want them to be black, rolling over to a different color when hovered over etc. :-)

14 Jul 2012, 1:11 PM
#4
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: How to change Category link color in left sidebox?

Change color: #008000 to #000000

A.category-top, A.category-top:visited {
color: #008000;
text-decoration: none;
}

If you need the hover add this, and change color to your likes

A.category-top:hover {
color: #008000;
}

15 Jul 2012, 5:09 PM
#5
rosanna avatar

rosanna

New Zenner

Join Date:
Jul 2012
Posts:
14
Plugin Contributions:
0

Re: How to change Category link color in left sidebox?

Many thanks!