RTL components : wont turn the site right to left.

Hala Halaa Posted in Component Development 3 years ago

I Translated my site, and i have the RTL components, but still the site wont turn Right to Left ?

Replies
gr Hala Halaa Replied 3 years ago

Dear Arsalan

the RTL now works fine Thank you..

if you may please have a look at the Login button, i still cant translate it., ( Thank you soo much )

gr Hala Halaa Replied 3 years ago

Great <3 Thank you sooo much <3

Indonesian Arsalan Shah Replied 3 years ago

when i have arabic selected yes.

Then someone content of your langauge maybe in Arabic and some english (user contents) What you can do is replace themes\Awesome\plugins\default\theme\page\page.php with https://gist.github.com/lianglee/764e102be571df162de1c8fe2e87a980

Indonesian Arsalan Shah Replied 3 years ago

If you just need to move inputs text to right and your website is in arabic only then disable the RTL and add in this file end themes/Awesome/plugins/default/css/default.php add the below code in end of the file and flush cache from admin panel after disabling that component.

input,
textarea,
select,
[contenteditable='true']{
    direction: rtl !important;
    text-align: right;
    unicode-bidi: bidi-override; 
}
gr Hala Halaa Replied 3 years ago

when i have arabic selected yes.

Indonesian Arsalan Shah Replied 3 years ago

You want your website to appear like this ?:

enter image description here

gr Hala Halaa Replied 3 years ago

yes sure.

Thank you for answering.

www.halafeek.com

Indonesian Arsalan Shah Replied 3 years ago

Can you share your website URL?