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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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


1611 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