4

I have multilingual site in magento 2 and extended blank theme , i want to know where can i overwrite style for RTL(Arabic language) direction: rtl and other common and module wise style as well?

1 Answer 1

3

Create new theme for RTL (assign parent your default theme) at below path given below:

app\design\frontend\vendor\

create Store View in admin and apply created theme for that Store View given path below

Content -> Design -> Configuration

edit your created store view and apply theme which you created for RTL.

 - php bin/magento cache:clean
 - php bin/magento setup:static-content:deploy

Now you can overwrite your default style for RTL

2
  • I have only english store view, can we override it to RTL ? Commented Apr 18, 2018 at 6:51
  • 1
    Yes you can override with, <html lang="ar-SA"> tag with this style html[lang='ar-SA'] body { direction: rtl; unicode-bidi: embed; } Commented Apr 20, 2018 at 4:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.