Jump to content

Category font color


Recommended Posts

Hi,

 

On the category pages, each category name is written with the same font color.

 

Such font color is given by the following in the global.css file :

a {

color: #5D717E;

outline: medium none;

text-decoration: underline;

}

 

I would like to change the font color for only onecategory name.

As an example, on the same page, I would like to have :

- most of the category names in color: #5D717E;

- one single category name ("special category" as an example) in another font color, let's say : blue

 

I do not know how to get this result.

 

I wonder the following :

May I add the here after specific condition on the category.tpl file :

If the category name = special category, then put it in blue colour

 

In case such idea could be one possible way, I do not know how to properly write the appropriate code in the category.tpl file

 

Ant help would be great !

 

Thank you in advance to anyone.

 

Patrick

Link to comment
Share on other sites

Hi,

 

Thank you Stephanie for your reply.

 

I am sorry but I didn't understand everything.

 

Could you let me know, step by step (so far as you can) what I have to amend and in what files ?

 

Thank you again in advance,

 

Patrick

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...