BoltTheme includes native Right-to-Left (RTL) support, providing a fully localized experience for Arabic, Hebrew, Urdu, and Persian stores without requiring custom coding.
Dynamic Layout Mirroring
The theme automatically mirrors elements for RTL layouts:
1. Automatic Language Detection
- The theme checks the active locale code of the visitor.
- If the language is set to a Right-to-Left locale (
ar,he,fa,ur), the theme automatically loadsrtl.cssand sets the text direction attribute (dir="rtl"). - No manual settings are required to activate this; it works automatically based on your Shopify Admin language settings.
2. Auto Logo Swapping
- If you have uploaded separate LTR and RTL logo versions in the Logo Settings panel:
* The theme will automatically display the LTL logo for Left-to-Right languages.
* The theme will automatically swap to the RTL logo when an RTL language is active.
3. Mirrored Elements
When RTL mode is active, the following layout changes happen automatically:
- Main navigation and headers mirror orientation (logo shifts to the right, navigation links align right, cart icon shifts to the left).
- Text blocks, headings, lists, and paragraphs align to the right.
- Grids and columns flip their sorting order (first items load on the right).
- Accordions, slide carousels, and the cart drawer slide open from the opposite side.
- Navigation arrows and icon directions are automatically reversed.