Replace default jQuery UI theme in template

Public

</> CopyGet raw version
php
  1. /**
  2. * @file template.php
  3. */
  4. function MYTHEME_css_alter(&$css) {
  5. if (isset($css['misc/ui/jquery.ui.theme.css'])) {
  6. $css['misc/ui/jquery.ui.theme.css']['data'] = drupal_get_path('theme', 'MYTHEME') . '/jquery.ui.theme.css';
  7. }
  8. }