Dreamweaver Club Forums

Dreamweaver Club Forums (http://www.dreamweaverclub.com/forum//index.php)
-   Spry (http://www.dreamweaverclub.com/forum//forumdisplay.php?f=189)
-   -   is it possible to create a second alternate styled Spry Accordion (http://www.dreamweaverclub.com/forum//showthread.php?t=42693)

glassonion 03-16-2012 08:47 PM

is it possible to create a second alternate styled Spry Accordion
 
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.

Thanks,
Dan

Corrosive 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.

glassonion 03-17-2012 12:59 PM

Thanks for your reply. I'll give it a try.


All times are GMT. The time now is 01:45 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com