vault-boy
vault-boy

Reputation: 523

jquery ui accordion - flexible header styling

I'm using jquery UI accordion plugin but I need to be able to style each element separately. For example, I need different colors for headers (3 different colors would be used throughout the whole list). Setting up custom css classes for those elements, eg , doesn't work as it gets overwritten by UI css

Any advice?

Upvotes: 0

Views: 332

Answers (1)

user818991
user818991

Reputation:

You may be able to override the jQuery UI CSS by Using !important.

e.g:

.header {
  color: #fff !important;
}

Upvotes: 2

Related Questions