The thing is that customizr loads the rtl css according to the constant WPLANG defined in wp-config.php.
Now you have two (imho) ways to “fix” it:
– change core files ( ?? nooo.. :P)
open customizr/inc/class-fire-init, go to the line ~347:
make this:
if ('ar' == WPLANG || 'he_IL' == WPLANG ) {
become this;
$language = get_bloginfo('language');
if ('ar' == $language || 'he_IL' == $language ) {
– using filters (:D yay preferred way :D)
add_filter('tc_active_skin', 'no_rtl');
function no_rtl($skin){
$language = get_bloginfo('language');
if ( $language != 'ar' ){
/* copied from class-fire-init.php */
$skin = esc_attr( tc__f( '__get_option' , 'tc_skin' ) );
$skin = esc_attr( tc__f( '__get_option' , 'tc_minified_skin' ) ) ? str_replace('.css', '.min.css', $skin) : $skin;
//Finds the good path : are we in a child theme and is there a skin to override?
$remote_path = false;
$remote_path = ( file_exists(TC_BASE_CHILD .'inc/css/' . $skin) ) ? TC_BASE_URL_CHILD .'inc/css/' : $remote_path ;
$remote_path = ( !$remote_path && file_exists(TC_BASE .'inc/css/' . $skin) ) ? TC_BASE_URL .'inc/css/' : $remote_path ;
return $remote_path . $skin;
}
return $skin;
}
Let me know..