By default WordPress expects the rtl.css file to exist in the child theme, but there is currently no way to copy it over using the plugin.
The workaround is to add the following code under the Web Fonts tab:
@import url( ../[parent theme slug]/rtl.css );
Where “parent theme slug” is the directory name of the parent theme.
-
This reply was modified 7 years, 6 months ago by
lilaeamedia.
Hi,
thanks for the work around it kinda work, but the new issue is when i change back to default language which is LTR it shows css as RTL… how can i make it appear in different language ?
LTR URL : https://www.4.wegospace.com/en/
RTL URL : https://www.4.wegospace.com/ar/
Instead of using the web fonts tab workaround, add this to your child theme functions.php file, after the auto-generated code:
function load_parent_rtl_css() {
wp_enqueue_style( 'parent_rtl', trailingslashit( get_template_directory_uri() ) . 'rtl.css' );
}
if ( is_rtl() ):
add_action( 'wp_enqueue_scripts', 'load_parent_rtl_css', 10 );
endif;
I will be adding this to a future release because this is coming up a lot.
Hi,I like your fast support sir!
It is getting better, but it has some issues.
Now it is showing LTR and RTL as it should be, but some RTL elements still not showing correctly, going back to parent theme will fix it, but i don’t want to use parent theme.
Check comparison screenshot between parent and child .
Parent : https://www.dropbox.com/s/lk98hz3li9bboyl/Parent%20Theme.jpg?dl=0
Child : https://www.dropbox.com/s/igbb9fi7k1c5j22/Child%20Theme%20not%20appearing%20correctly.jpg?dl=0
Please help me through this, it is very important for me to use your plugin !
Delete my email address from your notifications.
@okom
I don’t understand, are you in the wrong topic ?
@dark0past
I do not want to receive your notifications that overwhelm my mailbox.
So I kindly ask you to delete my email address
@okom
I haven’t added any email, I don’t know your email address…
Maybe you subscribed to this topic ? at the bottom of the page un-check checkbox “Notify me of follow-up via email”
Hmm,
try this solution :-
go to https://wordpress.org/support/plugin/child-theme-configurator/
at the top of the page unsubscribe to this plugin.