Comments alavrov started the conversationApril 22, 2017 at 3:47pmHi,We are doing multilingual site for our game.On english and all other languages you can see carousel with features of game https://staging4.weaponsofheroes.com/in arabic translation I see carousel in editor, but in public site this places is empty and I see just empty space https://staging4.weaponsofheroes.com/ar/ 522Nikita repliedApril 22, 2017 at 9:15pmHi.You need to add special CSS if your page is RTL.See file /youplay/functions.php [245 line], this is file, that you need to enqueue. In functions.php this file added when enabled RTL option in theme options panel.Best regards, nK. Rate our Works: https://themeforest.net/downloadsFollow on Twitter: https://twitter.com/nkdevvalavrov repliedApril 23, 2017 at 7:58amI activated RTL in theme, it works for whole site.Could you give me this special CSS and I will add it just for arabic pages.I am not a php programmer, I am more designer and engineer. So my questions may be little stupid :) 522Nikita repliedApril 23, 2017 at 3:06pmThis should help - https://wpml.org/forums/topic/loading-rtl-css-to-arabic-language/ You can add rtl css file using child theme. Just check if page in arabic language and inlcude css. Something like this: if (ICL_LANGUAGE_CODE=='ar') { wp_enqueue_style( 'youplay-rtl', get_template_directory_uri() . '/assets/css/youplay-rtl.css'); } Rate our Works: https://themeforest.net/downloadsFollow on Twitter: https://twitter.com/nkdevv Sign in to reply ...
Hi,
We are doing multilingual site for our game.
On english and all other languages you can see carousel with features of game https://staging4.weaponsofheroes.com/
in arabic translation I see carousel in editor, but in public site this places is empty and I see just empty space https://staging4.weaponsofheroes.com/ar/
Hi.
You need to add special CSS if your page is RTL.
See file /youplay/functions.php [245 line], this is file, that you need to enqueue. In functions.php this file added when enabled RTL option in theme options panel.
Best regards, nK.
Rate our Works: https://themeforest.net/downloads
Follow on Twitter: https://twitter.com/nkdevv
I activated RTL in theme, it works for whole site.
Could you give me this special CSS and I will add it just for arabic pages.
I am not a php programmer, I am more designer and engineer. So my questions may be little stupid :)
This should help - https://wpml.org/forums/topic/loading-rtl-css-to-arabic-language/
You can add rtl css file using child theme. Just check if page in arabic language and inlcude css. Something like this:
Rate our Works: https://themeforest.net/downloads
Follow on Twitter: https://twitter.com/nkdevv