Shopify themes, liquid, logos, and UX
I am using the Translate and Adapt app with Origin theme to translate my theme to Arabic, however, The theme layout is still not adapted, and there are some parts are still not converted "Right to Left", like the "Image with Text" for example.
You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add dir='rtl' here
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
ok, but then the English version will change also.
I want to keep the LTR for English, but change to RTL for Arabic.
Did you ever find the solution ? I have the same issue.
Did u have any answers please?
Try something like this.
{%- if shop.locale == 'ar' -%}
<html class="no-js" lang="{{ request.locale.iso_code }}" dir="rtl">
{%- else -%}
<html class="no-js" lang="{{ request.locale.iso_code }}">
{%- endif -%}
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025