Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / navMain active page link in different color

navMain active page link in different color

Views: 1,248

Results 1 to 2 of 2
8 Jan 2011, 2:57 PM
#1
shopkiper avatar

shopkiper

New Zenner

Join Date:
Jan 2011
Posts:
1
Plugin Contributions:
0

navMain active page link in different color

Hello everyone!

I have installed my first zen shop a few weeks ago ( https://www.reuel.name/kauppa ). I also installed a wordpress system on the same domain ( https://www.reuel.name ).

I'm trying to make the top menu of zen cart (navMain) to look exactly like the menu in wordpress.

I'm almost there, but I can't get zen shop to show the link of the active page in a different color (white).

In wordpress they use this CSS (where access is the mainmenu div):

#access ul li.current_page_item > a,
#access ul li.current-menu-ancestor > a,
#access ul li.current-menu-item > a,
#access ul li.current-menu-parent > a {
color: #fff;
}

I couldn't find what code zen cart uses for active page.

Any idea how I can make the link of the active page appear in white, while the rest of the links to remain in grey?

Thanks for your help!

8 Jan 2011, 3:50 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: navMain active page link in different color

I don't know if you can do that with navMain, but if you want to convert that menu to EZ pages, there's this mod:

http://www.zen-cart.com/forum/showthread.php?t=171009

Glenn might have an idea about navMain.