Fix · Pages, phones and Arabic
Arabic page is not right-to-left
Blocks your workKuwait and Gulf
What you may see
- Arabic text is aligned to the left and the menu is on the wrong side
- Only some parts flip
Most likely cause
The page lacks the right-to-left setting on the html element, or the styles use left and right instead of start and end.
Check first (about two minutes)
- Inspect the html element: does it have dir="rtl" and lang="ar" on Arabic pages?
- Search the CSS for margin-left, padding-right, left:, right:, text-align:left.
The fix prompt
What you type here never leaves your browser. The search runs on this page, and nothing is sent to a server or to an AI.
Kept only in this browser, on this device. Keys and passwords are removed before anything is saved.
Prompt language
Paste it into Claude, ChatGPT, Gemini or Cursor, then follow what it says.
After you tried it, did it work?
Steps
- Set lang and dir on the html element from the page language (ar gets dir="rtl").
- Replace physical properties with logical ones (margin-inline-start, padding-inline-end, inset-inline-start, text-align: start).
- For flex and grid rows, let the direction follow the page; do not hard-code row-reverse for Arabic.
- Check forms, menus, sliders, dropdowns and icons on Arabic pages.
Do not do this
- Do not use transform: scaleX(-1) on the whole page.
- Do not duplicate the stylesheet for Arabic.
- Do not flip images, logos or phone numbers.