0

I have theming being automatically applied by misc/jquery.ui.theme.css that I need to modify. I am using Views Accordian plugin in an instance of EVA for a FAQ category.

What is the Drupal way to override some of the css in this instance?

I read the "How to override a theme function?" but I don't think it would work in this case, I could be wrong.

1
  • CSS is all about specificity, so you should easily be able to override styles just using that
    – Clive
    Feb 19, 2014 at 11:27

2 Answers 2

0

I don't have enough rep to add comments, but here is my two cents. In addition to Clive's comment, take a look at the weight and group option being used in drupal_add_css, in views_accordion.module. You can implement your own stylesheet here and assign a CSS_THEME for its group and a larger weight number than that of views_accordion, which I'm pretty sure would have used CSS_DEFAULT instead. Here are the docs page. drupal_add_css

0

I ended up using theme roller for the jquery parts I needed. Thanks.

2
  • Is this really an answer to the question as asked? Could you elaborate a bit more, so others could understand what you did?
    – Mołot
    Mar 1, 2014 at 10:21
  • #1 it is my question. #2 since the specific css in this case is directly related to a jquery element, I found that I don't have to reinvent the wheel. There is a themeroller for jQuery at jquery.com/themeroller
    – fndtn357
    Mar 1, 2014 at 10:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.