Skip to main content

Right-to-Left (RTL) Support in Cartly

Right-to-Left (RTL) languages

Neo avatar
Written by Neo
Updated today

Cartly automatically supports Right-to-Left (RTL) languages such as Hebrew, Arabic, and Persian.

If your Shopify store is set to RTL, Cartly will detect it and apply the correct layout and styles automatically — no extra setup inside the app.

This article explains:

How Cartly detects RTL mode

Cartly checks your store’s HTML for the dir="rtl" attribute.

If this attribute is present, Cartly automatically applies all required RTL-specific CSS and layout adjustments.

There’s nothing to toggle inside Cartly itself, detection is fully automatic.

Step 1: Check if your store already has RTL enabled

  1. Open your storefront in a browser

  2. Right-click anywhere on the page

  3. Select View Page Source

  4. Look at the very beginning of the HTML

You should see something like this:

<html class="js" lang="en" dir="rtl">

If you see dir="rtl", our store is already in RTL mode, and Cartly will work correctly without any changes.

If you don’t see dir="rtl", our store is not marked as RTL yet. Continue to the next step.

Step 2: Enable RTL in your Shopify theme

If your store language is RTL but the dir attribute is missing, you can add it manually.

  1. Go to Shopify Admin → Online Store

  2. Click … → Edit code on your active theme

  3. Open layout → theme.liquid

  4. Find the <html> tag. It usually looks like this:

    <html class="js" lang="{{ request.locale.iso_code }}">
  5. Add dir="rtl" inside the tag:

    <html class="js" lang="{{ request.locale.iso_code }}" dir="rtl">
  6. Save the file

Need Help?

If you have any questions, please contact our support team.

📩 Contact Support: Reach out to us via live chat or send an email to [email protected]

Did this answer your question?