XF 2.0 RTL Issue

Mian Shahid

Well-known member
Hi, As i know, RTL is already set in XF2, but our forum having problem regarding this issue even RTL not working at all.

Any quick tips?

Regards
 
If RTL works perfectly, then it shows like that
2018-06-21_182659.webp

And if RTL having issues, it shows like that

2018-06-21_182747.webp


So, in our forum, RTL having some issues, which we need to sort out.
 
You're confusing alignment with direction. What you are using there is alignment and that's expected while RTL should be used on the root container. You have to set the post div direction to RTL. Try this:
CSS:
.message-content {
    direction: rtl;
}

Or you can use this to transform the whole forum but it might make the site looks ugly if the style is not RTL ready:
CSS:
html, body {
    direction: rtl;
}
 
Back
Top Bottom