Skip to content

Setting up a right-to-left site ​

Velum has no right-to-left switch: the direction follows the language of the site. With a right-to-left language, such as Arabic, Hebrew, Persian or Urdu, the layout, the header and menus, the sliders and the page transitions mirror by themselves. The Arabic preview of the demo shows the result.

Setting the site language ​

Settings → General

▶️ Step 1. ​

Go to Settings → General and choose your language under Site Language.

Site Language shows the chosen language, with Save Changes below it

▶️ Step 2. ​

Click Save Changes. The site turns right to left, and so does the admin area.

Keeping the admin area in English

Go to Users → Profile and choose English under Language. The site stays in the site language for visitors.

Choosing fonts that have your letters ​

Site Settings → Global Fonts

Global Fonts lists the text styles, each with a pencil that opens its font

The demo's fonts, Urbanist and Butler, have no Arabic letters, so Arabic text shows in whatever font the visitor's device falls back to. Give each global font a family that has the letters of your language: see Changing a font. The Arabic preview uses IBM Plex Sans Arabic for the styles that had Urbanist and Amiri for the styles that had Butler.

Adjusting line height and letter spacing ​

Site Settings → Global Fonts

Line Height and Letter Spacing sit in the Typography popover of a global font

Arabic letters carry marks above and below, and the demo's tight lines cut them. Raise Line Height in each global font, as in Fixing letters that are cut off. The Arabic preview uses 1.7 for paragraphs and 1.3 to 1.6 for headings.

Arabic, Persian and Urdu letters join, and letter spacing pulls them apart in Safari. Velum drops the letter spacing of its own styles in these languages, but a Letter Spacing set in a global font or in a widget still applies. Set it to 0 in every global font that has a value, such as Label / M and Display / XL. Hebrew letters do not join, so they keep their spacing.

What does not mirror by itself ​

  • A margin or padding that differs between left and right. This limit comes from Elementor: 40px on the left and 0 on the right stays on the left. Give both sides the same value, or check those spots on the page.
  • The texts. The theme's own words, such as button labels, stay in English until you translate them: see Translating the theme. For a site in several languages, see Making the site multilingual.
  • The numbers. Dates and counters keep Western digits (1, 2, 3). Type Arabic-Indic digits yourself where you want them in your own texts.

Is there an Arabic demo to import? ​

No. The demo that the setup wizard imports is in English: see Setup wizard and demo import. On a right-to-left site its pages mirror, and the texts stay in English until you replace them. The Arabic preview shows how the theme looks with Arabic text and Arabic fonts.