![]() |
Change specific category font color
Hello,
I have searched the forum but can't seem to locate what I am looking for. I want a specific category on my left navigation to have a different link color then the rest. Is this possible? For example, category 4 should have a red font instead of the default white font. Can anyone point me in the right direction here? Thanks, David |
Re: Change specific category font color
In your skin1/customer/categories.tpl
find Code:
{foreach from=$categories item=c} Code:
{foreach from=$categories item=c} |
Re: Change specific category font color
Thank you very much Victor. That works great.
Would you happen to know how to change the colors of the other navigation links. For example the links that end in "../pages.php?pageid=71" |
Re: Change specific category font color
those are controlled by the class .VertMenuItems
Just change the color in the css file. |
Re: Change specific category font color
I figured out how to change all of them. I just need to change one color of one of the links.
::EDIT:: I figured out what I needed to change. In skin1/pages_menu.tpl I simply added {if $pages_menu[pg].pageid eq 81}style="color:red"{/if} after class="VertMenuItems". |
All times are GMT -8. The time now is 06:14 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.