HELP! weglot rtl text alignment? (only when custoomer chose Hebrew)

Highlighted
New Member
1 0 0

Hi!

 

Been tying to make the text from right to left ONLY when the site is in Hebrew, with no success.

 

Does anyone know how to solve this?

 

0 Likes
Highlighted

Hello 

 

Want to modify or incorporate custom changes on store, Hire us
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Whats app
Free Website Review and advice for sale from Shopify Conversion Experts | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | Shopify SEO ; Digital Marketing & amp | Site Speed Optimization | Performance Site Audit
0 Likes
Highlighted
Shopify Partner
21 0 6

Hey Sunkissed,

 

Eugene from the Weglot team here. Happy to help you with this.

 

You need to add a specific CSS for that:

 

 

html[lang=“he”] body {
     direction : RTL!important;
     text-align : right!important;
}

 

 

With this CSS, the RTL should only be active with the Hebrew (he) language.

 

This should fix your problem in most cases. You might still have a couple of sections that are not RTL. If you need any help, please contact us at support@weglot.com and we’ll help you.

 

Best,

Eugene

0 Likes