Screen shot 2012-11-09 at 11.29.20 AM.png

Hi ,

I need the header color of the selected panel(currently expanded mode) to be changed dynamically.
Can u suggest how to achieve this?

.x-accordion-hd {
background: red !important;

.x-accordion-hd .x-panel-header-text {
color: white;

The above CSS is applied for ALL. But I need this to happen only for the expanded panel.(i.e. in diagram represents panel2 header)