Help

The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.

RTL in mail automation

Solved
Jump to Solution
3591 7
cancel
Showing results for 
Search instead for 
Did you mean: 
Hilla_Michowiz_
5 - Automation Enthusiast
5 - Automation Enthusiast

Hi, 

I want to send emails to my customers using the Gmail automation and I was wondering if I can somehow change the direction of the text to RTL (the mails are in Hebrew)

1 Solution

Accepted Solutions

Hm, for new lines I believe you can use `<br>`s for the new lines like so:

<p style="direction:rtl">Test Hello.<br>On a new line<br><br>Two new lines later</p>

Which would result in this:

Screenshot 2022-12-13 at 3.29.29 PM.png

See Solution in Thread

7 Replies 7

Hi Hilla, you can use some HTML and CSS to get your text right aligned I believe

For example:

Screenshot 2022-12-12 at 9.17.24 PM.png
And the code I used in the screenshot above was `<h1 style="text-align:right">Test Hello</h1>`

For normal email body text, you could try using: <p style="text-align:right">Test Hello</p>

 

Thx! this however does not solve the problem since it only aligns the text to the right and doesn't change the direction of the punctuation

Ah, so sorry.  Hmm, what about `<h1 style="direction:rtl">Test Hello</h1>`?

It works but only if I don't add data variables from the base 😕

Actually, it only works for the first line of text, how do I implement it for the whole text?

Hm, for new lines I believe you can use `<br>`s for the new lines like so:

<p style="direction:rtl">Test Hello.<br>On a new line<br><br>Two new lines later</p>

Which would result in this:

Screenshot 2022-12-13 at 3.29.29 PM.png

Hilla_Michowiz_
5 - Automation Enthusiast
5 - Automation Enthusiast

It works!!!

Thank you soooooo much!!