View Full Version : is it possible to create a second alternate styled Spry Accordion

03-16-2012, 08:47 PM
Hi All,

Within my site, I already have an accordion menu that I'm happy with, and I have that saved as a template. I'd like to create another version of the same accordion menu, the only difference being the colors of the tabs and text, etc.

I know that if I make another template and change all the colors, that it will affect all my current accordion pages. I was wondering if there was a way to have a second version, without screwing up the first.

I'm assuming the answer lies in creating a new SpryAccordion.css file, but I'm not sure how to either create a new one or to attach a re-named .css file to my new template. Any help would be much appreciated.


03-17-2012, 11:12 AM
I'm not a great advocate of Spry but I'd imagine you could give each menu a specific ID and then use compound CSS selectors to target the colours in each one.

03-17-2012, 12:59 PM
Thanks for your reply. I'll give it a try.