logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Spry
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 03-16-2012, 09:47 PM   #1
glassonion
glassonion's Avatar
 
Join Date: Mar 2012
Posts: 13
Arrow 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
glassonion is offline   Reply With Quote
Old 03-17-2012, 12:12 PM   #2
Corrosive
Corrosive's Avatar
 
Join Date: Feb 2008
Location: Bristol, England
Posts: 7,103
Default

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.
Corrosive is offline   Reply With Quote
Old 03-17-2012, 01:59 PM   #3
glassonion
glassonion's Avatar
 
Join Date: Mar 2012
Posts: 13
Default

Thanks for your reply. I'll give it a try.
glassonion is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:23 AM.


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