Forums / Templates, Stylesheets, Page Layout / Change color of navigation item in the list

Change color of navigation item in the list

Started by in2deep on 12 Jun 2012, 8:38 PM · Views: 791

Results 1 to 4 of 4
12 Jun 2012, 8:38 PM
#1
in2deep avatar

in2deep

Zen Follower

Join Date:
Jul 2011
Posts:
214
Plugin Contributions:
0

Change color of navigation item in the list

I've done a search and I see how you would change the colors of all the categories links, but what I would like to do is change the colors of just two of the categories?

The links are currently blue, what I would like to do is make some of the ones red and bold.

12 Jun 2012, 11:55 PM
#3
in2deep avatar

in2deep

Zen Follower

Join Date:
Jul 2011
Posts:
214
Plugin Contributions:
0

Re: Change color of navigation item in the list

I tried it, it didn't work

13 Jun 2012, 4:45 AM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: Change color of navigation item in the list

The referenced thread applies to the horizontal categories-tabs menu, not to the categories sidebox. The coding principles are relevant, but would have to be modified to fit.

You need to alter /includes/templates/your_template/sideboxes/tpl_categories.php (copy it from /template_default/sideboxes/). There are comments in the file for making a particular category "special" in styling. You can also install Categories Dressing, define a category group for the desired categories, and style the group. If that is the only thing you want to customize in the sidebox, it would probably be easier to do the manual edits according to the comment.