ctools Modal css overide?

Events happening in the community are now at Drupal community events on www.drupal.org.
dkinzer's picture

Does anybody know how I would override the modal.css file included with ctools modal window. I've tried putting a copy in a custom theme folder, but it's not working (perhaps because modal window opens in an iframe?). I've also looked for a theme_modal... function in the code to override that, but I don't see it?

Any help is greatly appreciated.

Thanks!

David

Comments

Edit themename.info?

alexiswatson's picture

Have you tried adding

stylesheets[all][] = modal.css

to your theme's .info file? drupal_add_css() will allow themes to take precedence over module-defined CSS, but only if the stylesheet of the same name is declared in the info file, first. See http://api.drupal.org/api/function/drupal_add_css/6 for details on how this works. You may have to clear the theme registry before it takes effect.

Hope this helps!

Yeah, thanks that was the

dkinzer's picture

Yeah, thanks that was the answer.