| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Change specific category font color | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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
__________________
Version 4.1.9 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() In your skin1/customer/categories.tpl
find Code:
Code:
__________________
Regards, Victor Dubiniuk X-Cart Skins Store ![]() - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
#3
|
|||||||
|
|||||||
![]() 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"
__________________
Version 4.1.9 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() those are controlled by the class .VertMenuItems
Just change the color in the css file.
__________________
xcart 5.1.2 |
|||||||||
#5
|
|||||||
|
|||||||
![]() 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".
__________________
Version 4.1.9 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|