Last active
August 29, 2015 14:02
-
-
Save csakiistvan/39c800107e07d0ab069b to your computer and use it in GitHub Desktop.
add different css in different languages
This file contains hidden or 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
<?php | |
/** | |
* Implements hook_preprocess_page(). | |
*/ | |
function mytheme_preprocess_page(&$vars) { | |
drupal_add_css(drupal_get_path('theme', 'mytheme') . '/css/mytheme_lang_' . $vars['language']->language . '.css'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment