How do I display text from right to left?
The language I am using on my campaign requires an RTL instead of LTR format. How can I update this?
-
Official comment
Answer from ShortStack Support: There are two things you can do to display your campaign text so that it reads from right to left.
Part 1: Update the Campaign HTML dir attribute to RTL:- Open your Campaign Builder
- Click the gear icon to edit the Campaign Settings
- Click HTML
- Change the dropdown below "Page Language Direction" to rtl
- Click Save
Part 2: Add a CSS Snippet to your CSS Editor with the following CSS:/* SNIPPET RTL Language */
body, #wrapper, label, #wrapper p {
direction: rtl;
text-align: right;
}
.horizontal_container .field_block {
float: right;
clear: none;
}
.horizontal_container .field_block.first_child {
margin-left: 3%;
}
/* END SNIPPET */Comment actions
Please sign in to leave a comment.
Comments
1 comment