close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Adjusting the Accordion Menu colors etc.

Thread began 3/29/2010 2:44 am by mick106153 | Last modified 4/13/2010 4:24 pm by mick106153 | 2310 views | 17 replies



The fundamental question is - how can I tweak the accordion menu to a fare-thee-well?
Actually that's not really the question, because I know how to do that, I'm conversant with css.
The problem is that I seem to be stymied by redundant rules.

You've answered many times and in many places that all I need do is tweak the one line of code in main.dwt and the one rule in spry_custom.css.

Unless I'm sorely mistaken, that won't allow me to make the changes I would like.
Those being I don't know yet, could be anything, gradient images triggered by hover or click. Changes in size to differentiate the various states - whatever.

I came here to ask this question initially because I became aware that there were numerous css files seemingly working at odds, attempting to control the same div or class.

For example:
spry_custom.css contains the following -
.AccordionFocused .AccordionPanelOpen .AccordionPanelTab
.AccordionPanelOpen .AccordionPanelTab
.AccordionFocused .AccordionPanelTab
.AccordionPanelOpen .AccordionPanelTabHover

SpryAccordion.css contains the very same -
.AccordionFocused .AccordionPanelOpen .AccordionPanelTab
.AccordionPanelOpen .AccordionPanelTab
.AccordionFocused .AccordionPanelTab
.AccordionPanelOpen .AccordionPanelTabHover

And in both files the rules contained sometimes control the very same thing differently from one another.
Here is a specific actual case in point -
SpryAccordion.css - .AccordionPanelTab {background-color: #CCCCCC;}
spry_custom.css - .AccordionPanelTab {background-color: #000;}

I don't understand how this can not be a problem.
Please explain?

Is there some hierarchy of precedence these files adhere to?
If so, what is it and how is it determined?

Next, paraphrasing your original answer here "tweak the one line of code in main.dwt and the one rule in spry_custom.css" I inferred that I should not have touched the other css files - SpryAccordion.css being one of many that I have tweaked.
You've never answered whether this is something I should not have done or if there are any rules as to how I should approach these files to make changes.

If these files are meant to be inviolable than should they be replaced with original files?

As concise as I can be at the moment and probably not complete.


Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...