patrmich Posted May 15, 2012 Share Posted May 15, 2012 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 More sharing options...
mynamesStephanie Posted May 16, 2012 Share Posted May 16, 2012 Hi. just separate each what you want. create an id or class to specify each id or class. then same in global.css create a parameter for the id/class. Link to comment Share on other sites More sharing options...
patrmich Posted May 16, 2012 Author Share Posted May 16, 2012 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now