website rtl direction

Solved
Excursionist
12 0 7

when i switch to arabic language the website language only changed to arabic but the main layout still from left to right not right to left although the theme i worked with support rtl and rtl.css file already exist how to run it only when the user switch to arabic and how to remove it again when he turned to english language?
Thanks in advance,

Shopify Partner
12379 1505 4467

This is an accepted solution.

Hello, @Heba_clickwpick 

Welcome to the Shopify community!
and Thanks for your Good question.

Please share your site URL,
So I will check and provide a solution here.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Excursionist
12 0 7

Hello,
thanks for your reply
https://www.clickwpick.com/
password:
blowst 
i tried several code solutions but it didn't work with me don't know why here is what i tried recently in theme.liquid

<!-- rtl-CSS -->
{% if shop.locale!= "ar" %}
{{ 'style.theme-rtl.css' | asset_url | stylesheet_tag }}
{% endif %}
<!-- end-rtl-CSS -->

and
<!-- rtl-CSS -->
{% if shop.locale == "ar" %}
{{ 'style.theme-rtl.css' | asset_url | stylesheet_tag }}
{% endif %}
<!-- end-rtl-CSS -->
thanks again and waiting for your reply

0 Likes
Excursionist
12 0 7
Hello,
thanks for your reply
https://www.clickwpick.com/
password:blowst
i tried several code solutions but it didn't work with me don't know why
here is what i tried recently in theme.liquid


{% if shop.locale!= "ar" %}
{{ 'style.theme-rtl.css' | asset_url | stylesheet_tag }}
{% endif %}


and

{% if shop.locale == "ar" %}
{{ 'style.theme-rtl.css' | asset_url | stylesheet_tag }}
{% endif %}

thanks again and waiting for your reply
Shopify Partner
12379 1505 4467

@Heba_clickwpick 

Thanks for details 

yes, that's current what's issue about it

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Excursionist
12 0 7

yeah, i wish you help me to fix it asap 

0 Likes
Shopify Partner
12379 1505 4467

@Heba_clickwpick 

i mean what's issue after this add code because this code is current 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Excursionist
12 0 7

unfortunately it didn't work and i don't know why 

0 Likes
Shopify Partner
12379 1505 4467

This is an accepted solution.

@Heba_clickwpick 

can you please add me to staff account so i will check the backend code issue and update

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Excursionist
12 0 7

Done and many many thanks