By default, the text on the landing page is displayed from the left-to-right (LTR). This applies to both text created using the text widget and user input in the form field.
You can change the text direction to RTL (right-to-left) by adding CSS code to the landing page.
This option is useful when you want to create content in right-to-left oriented languages, such as Hebrew or Arabic.
Below is an example of RTL implementation on the landing page:

In this article you will find:
I. How to change the text direction on RTL on the entire landing page?
II. How to change the text direction on RTL for the single widget on a landing page?
III. How to change the text direction on RTL for few widgets on a landing page?
I. How to change the text direction on RTL on the entire landing page?
This method will allow you to change text direction to RTL on the entire landing page, including form.
- Log into Smartpages platform and enter the edition of the chosen landing page.
- In the sidebar on the right, find the Page Settings and click on Additional Options.

- Go to the Custom style tab.
- Copy and paste the CSS code below; add it to the main page of your landing page (A) or/and to the thank you page (B).

- Save the changes and republish your landing page.
II. How to change the text direction on RTL for the single widget on a landing page?
This method will allow you to change text direction to RTL on the chosen widget. It may be useful if you have content in several languages on one landing page.
- Log into Smartpages platform and enter the edition on the chosen landing page.
- Select the chosen widget (1) and copy its ID (2).

- Next, on the sidebar on the right find the Page Settings and click on Additional Options.
- Go to the Custom style tab.
- Copy and paste the CSS code below; add it to the main page of your landing page or/and to the thank you page. Replace the #elementID by your ID copied from the editor.

- Save the changes and republish your landing page.
III. How to change the text direction on RTL for few widgets on a landing page?
This method will allow you to change text direction to RTL on the chosen widgets by adding the appropriate class to them. It may be useful if you have content in several languages on one landing page.
- Log into Smartpages platform and enter the edition on the chosen landing page.
- Select the chosen widget (1), which direction you want to change on RTL and assign to it a proper class (2), for example ‘textrtl’.

- Repeat the previous step for every widget, which direction you want to change on RTL.
- Next, on the sidebar on the right find the Page Settings and click on Additional options.
- Go to the Custom style tab.
- Copy and paste the CSS code below; add it to the main page of your landing page or/and to the thank you page. Replace the fragment ‘textrtl’ by your class name.

- Save the changes and republish your landing page.
Depending on the chosen method, the selected widget(s) or whole content on the landing page will be displayed right-to-left.