Save the date! Join us on October 16 for our Product Ops launch event. Register here.
Dec 12, 2022 04:30 AM
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)
Solved! Go to Solution.
Dec 12, 2022 11:31 PM
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:
Dec 12, 2022 05:19 AM
Hi Hilla, you can use some HTML and CSS to get your text right aligned I believe
For example:
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>
Dec 12, 2022 05:31 AM
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
Dec 12, 2022 06:06 AM
Ah, so sorry. Hmm, what about `<h1 style="direction:rtl">Test Hello</h1>`?
Dec 12, 2022 07:21 AM
It works but only if I don't add data variables from the base 😕
Dec 12, 2022 07:25 AM
Actually, it only works for the first line of text, how do I implement it for the whole text?
Dec 12, 2022 11:31 PM
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:
Dec 12, 2022 11:47 PM
It works!!!
Thank you soooooo much!!