On this page
What this issue is
Arabic, Hebrew, Persian and Urdu are read from right to left. A page in one of these languages should flow from the right edge: text aligns right, menus start on the right, and progress steps and arrows point left. The browser only does this if the page says so with the dir attribute on the <html> tag.
The issue appears when a translated page keeps the left-to-right (LTR) layout. Common forms: the text is right-aligned but the menu, icons and form labels are not; punctuation lands at the wrong end of a sentence; numbers and brand names scramble; or the whole page is mirrored in some places and not in others.
Why it costs you leads or sales
A page that looks wrong feels untrustworthy to a native reader, and the damage goes beyond looks. Labels sit on the wrong side of fields, placeholder text collides with icons, a "Next" arrow points backwards, and a sticky button can cover the field a person is filling in. People abandon forms and checkouts they cannot read comfortably.
- Arabic landing pageLoads, text looks mostly fine
- Lead formLabels and icons on the wrong side, email field typed backwards
- SubmitVisitor gives up or mistypes
- Thank-you page and trackingNever reached
A broken RTL layout usually hurts most at the form, where reading order matters.
Example: illustrative numbers showing how a broken RTL form could lower completion compared with a correct one.
How to check if your site has it
Open the translated page
Load the Arabic, Hebrew, Persian or Urdu version in a normal browser window.
Inspect the html tag
Right-click, choose Inspect, and look at the
<html>element. You wantlang="ar" dir="rtl"(orhe,fa,ur). Ifdiris missing or saysltr, that is the cause.Compare against the original
The header, menu, icons, sliders and breadcrumbs should be mirrored. Arrows and progress steps should point left.
Test the form and checkout
Type an email and phone number, check where labels, errors and icons appear, and walk through every step on a phone as well as desktop.
Test mixed content
Check lines that mix Arabic or Hebrew with Latin words, numbers or prices, and make sure punctuation ends up on the correct side.
How to fix it
The fix has two parts: tell the browser the page is RTL, then make your CSS follow the direction instead of hard-coding left and right.
Set the site language
Under Settings > General, set Site Language to the RTL language. WordPress then adds
dir="rtl"and loadsrtl.cssfrom themes that support it.Multilingual plugins
If you use a translation plugin, confirm the RTL language is registered with the correct locale (for example
arorhe_IL) so the direction is applied per language.Check your theme
If the layout is still wrong, your theme may lack RTL styles. Ask the theme author or add an
rtl.cssfile in a child theme.
Pick an RTL-ready theme
Not every theme supports RTL. Check the theme's documentation before you publish an Arabic or Hebrew store.
Add the direction in theme.liquid
In Online Store > Themes > Edit code, open
layout/theme.liquidand setdiron the html tag based on the locale (see the Liquid snippet below).
Use localization
With Webflow Localization, add the RTL locale. Then set the direction on the page's body or a wrapper using the Style panel's direction option, or add custom code for the html tag if needed.
Review each breakpoint
Check tablet and mobile views, because manual left/right alignment often needs adjusting per breakpoint.
Use Wix Multilingual
Add the RTL language in Wix Multilingual. Wix applies right-to-left direction to that language version. Then review elements you positioned by hand.
Check manually placed elements
Absolutely positioned items, icons and custom buttons may need to be moved in the translated version.
Check template support
Squarespace has limited built-in RTL support. Test your template with the translated text.
Add CSS
Under Website > Custom CSS, add direction rules for RTL pages (see the CSS snippet below). Scope them to the translated pages.
Set direction in the builder
On funnel or website pages, add custom code in the page's Tracking Code or Custom CSS area to set
dir="rtl"on the body and align text right.Check form widgets
Open the embedded form on a phone and confirm labels, placeholders and the submit button read correctly.
Set lang and dir
Output
<html lang="ar" dir="rtl">for RTL pages, driven by your locale.Use logical CSS
Replace left/right properties with logical ones so one stylesheet works in both directions.
<html lang="ar" dir="rtl">{% assign rtl_langs = 'ar,he,fa,ur' | split: ',' %}
<html lang="{{ request.locale.iso_code }}" dir="{% if rtl_langs contains request.locale.language %}rtl{% else %}ltr{% endif %}">/* Before */
.card { margin-left: 16px; text-align: left; padding-right: 8px; }
/* After: follows the page direction */
.card { margin-inline-start: 16px; text-align: start; padding-inline-end: 8px; }
/* Flip directional icons such as arrows */
[dir="rtl"] .icon-arrow { transform: scaleX(-1); }
/* Keep emails, phone numbers and URLs readable in inputs */
input[type="email"], input[type="tel"], input[type="url"] { direction: ltr; text-align: start; }Broken
- No dir attribute, page treated as LTR
- Labels sit on the left of right-aligned text
- Arrow points the wrong way
- Placeholder overlaps the icon
Fixed
- lang and dir=rtl set on the html tag
- Labels, icons and buttons mirrored
- Arrows flipped
- Email and phone inputs stay LTR for typing
How to confirm it's fixed
- The html tag shows the correct lang and dir="rtl"
- Menu, logo and icons are mirrored as expected
- Form labels, errors and placeholders sit on the right side
- Email and phone fields accept typing without scrambled characters
- Arrows, sliders and progress steps point the right way
- Prices, dates and Latin words inside Arabic or Hebrew text display correctly
- The submit button works and the thank-you page loads
- Checked on a real phone and at least two browsers
How to prevent it happening again
RTL breaks again when new sections, plugins or theme updates add hard-coded left/right styles. Build habits that catch it early.
- Write new CSS with logical properties (
margin-inline-start,text-align: start) - Add the RTL version of key pages to your release checklist
- Re-test forms and checkout in RTL after theme, plugin or builder updates
- Ask a native speaker to review layout and wording before launch
- Keep a list of the RTL pages and forms that matter most for leads
How FunnelGuard handles this
FunnelGuard does not check for RTL layout problems today. It is a possible future check, so right now you need to review RTL pages yourself.
What FunnelGuard does cover nearby: a robot visitor runs your real journeys on a schedule, such as a lead form or checkout, and checks each step, the tracking hits sent to ad and analytics platforms, and whether test leads reach your inbox and CRM. If you point a journey at your Arabic or Hebrew page, a layout that stops the form from submitting, for example a button that cannot be clicked, would show up as a failed step. It will not tell you that the layout merely looks mirrored wrongly. You can start on the Free plan (1 site, 2 journeys, daily checks, no card).
To watch for the layout issue itself, use the manual checklist above after each release, and browser developer tools to preview the page on different devices. Consider asking a native speaker to review the page at regular intervals.
Questions people ask
Why is my Arabic page showing left-to-right?
The page is most likely missing dir="rtl" on the <html> tag, or your theme has no RTL styles. Inspect the html element in your browser, and set the direction through your platform's language settings or in the theme code.
How do I make my website right-to-left?
Add dir="rtl" and the correct lang (such as ar or he) to the html tag of the translated pages. Then use CSS logical properties like margin-inline-start so spacing and alignment flip automatically.
What is the difference between text-align right and dir rtl?
text-align: right only moves the text. dir="rtl" changes the reading direction, which also affects punctuation placement, the order of inline items, flex and grid layout, and form behaviour.
Why are my email and phone fields scrambled on an RTL page?
Email addresses and phone numbers are written left to right, so inside an RTL context characters can appear reordered. Set direction: ltr on those inputs and keep the labels RTL.
Does WordPress support RTL languages?
Yes. When the Site Language is an RTL language, WordPress sets the direction and loads rtl.css from themes that include it. If your theme has no RTL styles, you need a different theme or a child theme with an rtl.css file.
Do I need to flip every icon on an RTL site?
No. Flip icons that show direction, such as arrows, back buttons and progress indicators. Do not flip logos, clocks, checkmarks or media controls that follow universal conventions.
Can FunnelGuard detect broken RTL layouts?
No, FunnelGuard does not check RTL layout today. It can run a journey on your RTL page and flag a failed step, such as a form that can't be submitted, but not a layout that is only visually wrong.
Related issues
- PRF-352Mixed languages on one page (untranslated strings)Fix guide
- PRF-353Untranslated form labels/errors on translated pageFix guide
- PRF-365Text expansion in German etc. breaks buttonsFix guide
- PRF-366Character encoding broken (mojibake, é instead of é)Fix guide
- PRF-363Name fields reject accents, apostrophes or non-Latin scriptsFix guide
- PRF-369Cookie banner in wrong languageFix guide