Created
May 2, 2013 13:23
-
-
Save About2git/5502127 to your computer and use it in GitHub Desktop.
Drupal: Replace jQuery UI Theme Function in template.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* implements hook_css_alter() | |
*/ | |
function YOURTHEMENAME_css_alter(&$css) { | |
// Installs the jquery.ui themeroller theme to the theme. | |
if (isset($css['misc/ui/jquery.ui.theme.css'])) { | |
$css['misc/ui/jquery.ui.theme.css']['data'] = drupal_get_path('theme', 'YOURTHEMENAME') . '/css/jquery-ui.custom.min.css'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment