Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

SideNav in Ecommerce


Go to End


1148 Views

Avatar
al5976

Community Member, 6 Posts

7 March 2009 at 1:10am

I have been trying to sort out a style issue I have with SideNav. My client has five different categories of products. For Example Chairs, Tables, Desks, Lighting, Flooring. Each Category has a colour related to it: Chairs - Green, Tables - Red, Lighting - Yellow

When you go into the Chair section they want the buttons in the side nave to be Green. In Tables they want them to be Red. If this was a static site this would be very easy using classes.

How would it be possible to achieve this? If this was a normal page not ecommerce I guess you could put if ChairPage use this style. How can this work with ecommerce?

Any ideas would be gratefully appreciated!

Thanks

Al