Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Customer Header Change button with page

Customer Header Change button with page

Locked

Views: 695

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
14 Nov 2008, 8:04 AM
#1
samleeiii avatar

samleeiii

New Zenner

Join Date:
Nov 2008
Posts:
2
Plugin Contributions:
0

Customer Header Change button with page

Hello I'm creating my own custom header for my store using CSS.

Basically say for example I setup a product category called "Batteries". And then I make one of the buttons in my header link to that:

<li class="upstate"><a href="batteries-category">Batteries</a></li>

I want to use php (I've done this in Wordpress but first time trying with Zencart) to change the class to "current" so that in my stylesheet I have a different image that will show for that.

So basically it's to indicate to the user that he/she is now in the Batteries section, as shown by a different image for that button.

Can someone please shed some light? Thanks.