Author Topic: RTL Invoice & orders confirmation emails  (Read 243 times)

ahmedfouad

  • Beginner
  • *
  • Posts: 1
  • A beginner
RTL Invoice & orders confirmation emails
« on: September 11, 2017, 12:37:05 pm »
I'm using Joomla 3.7.3
Virtuemart 3.2.2

I Using Virtuemart in Arabic Lang and I have a problem with emails the text in Arabic but the alignment is wrong(Left align) how to fix this?
Please note:
I searched the forum for solution and I did't find one
What may seem easy for developer could be very hard for ordinary users so excuse me.

Studio 42

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2333
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: RTL Invoice & orders confirmation emails
« Reply #1 on: September 12, 2017, 02:28:36 am »
If you mixed English and arabic.
You need to add in arabic part
Code: [Select]
<div dir="rtl">
YOURTEXT HERE
</div>
See https://www.w3.org/International/questions/qa-html-dir for more explain.
If the problem is right aligment you can use
Code: [Select]
<div style="text-align:right;">
YOURTEXT HERE
</div>
But the 1st solution is better