Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi, i`m trying to turn my store content from RIGHT to Left,
it`s already arabic, but the content is from Left to righ, i tried to change it from
settings and language, but the problem is i might lose the arabic content and i can`t
rewrite it again, i tried some codes on theme.liquid but nothing changed, so can you help me with that ??
here is a photo of my fotor,
and list of "best products", you can see the title on the left and refuse to go to Rigt
Hey @Faty
Kindly share your Store URL and Password if enabled
Hi @Faty
Did you tried to place the direction in your html?
1. From you Admin page, go to Online store > Themes > Click the three dots on the theme you want to edit > Edit code
2. Go to Layout folder and open the theme.liquid file
3. Add dir="rtl" before the closing angle bracket of html. See image below for reference
it`s already there, and i sent the URL and Password to your private messages
screenshot of my page :
replace this line with this code
{%- 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 -%}
Thanks bro, that's works for me!