I have a row with 3 columns on the home page. As the site is written in Hebrew - a RTL language - I want column 1 to be on the right of the screen, not the left.
I tried making sure the Direction is set to RTL on all elements.
I tried using Flexbox.
I tried simply switching the contents of column 1 and 3, but that’s only good for PC displays. On mobile, it displays column 1 first.
davorderokkidev
(Davor Egyed - RTL Webflow Dev (www.derokki.dev))
4
EDIT (Post-Localization Update) 25.03.2024:
In General, when you develop in RTL languages like Hebrew - you must set the document writing direction by applying the ‘dir’ attribute to the root HTML element.
In Webflow, you do it by going to Settings → Localization, and set your primary locale.
Here’s an 18sec clip showing how it’s done:
Based on the set website direction (RTL) - Rows, Flexboxes and Grids automatically behave bidirectionally
If you wanna go into more depth, I’ve created a Free Course on RTL Webflow Development on our YouTube channel:
Using the dir attribute in HTML to set the writing direction and applying CSS styles to control the layout is a common practice. It’s great to hear that there are tools and systems like RTLflow that offer a structured and scalable approach to RTL web development in platforms like Webflow. Components like the “Global RTL Element” can streamline the process and ensure consistent RTL behavior across your website.