ctools Modal css overide?

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

Groups:
Login or register to post comments

Edit themename.info?

davidwatson - Sat, 2010-03-20 22:38

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
dkinzer - Thu, 2010-08-12 00:51

Yeah, thanks that was the answer.