Site logo

Archived topic

RTL mode in categories

11 replies · Started by Hassan on October 12, 2019

Viewing posts 1–12 of 12

Hi,
I use my site in two languages ​​(French and Arabic), just i want the articles in Arabic to appear correctly in the categories (I mean right-to-left alignment / RTL mode). Example of the error : Screenshot

Thank you.

Hi Leo,
Thank you for your reply.
But this code align text of all articles in Arabic alphabet and latin alphabet to the right.

I just want align articles in Arabic alphabet on categories to the right / RTL mode.

Thanks.

The same problem. I think the solution requires a change in the RTL style sheet file (rtl.css).

Sorry I'm little confused.

You are referring to the page you've linked right?

Is the WordPress language setting set to RTL?

I don't believe so from looking at the code.

Let me know :)

Hi leo,

I apologize in advance for my English.

If i set WordPress language to RTL mode, articles in Arabic alphabet appear correctly in categories (right-to-left), but articles in Latin alphabet will not be displayed correctly (left-to-right) .. and vice versa.

Articles in arabic and latin alphabetic are mixet in some categorie : http://www.cdicdd.com/page16

Categories show only articles arabic : http://www.cdicdd.com/بالداريجة

Default Categories view mode (Left-to-right) : http://www.cdicdd.com

So, i want keep WordPress language in English/Frensh, and i want if are article articles in Latin alphabet should keep in like this (Left-to-right), and if are articles in Arabic alphabet should be showing correctly (right-to-left) in categories.

To be clear, i have multi language website :

- Articles in French / English are correctly displayed in category (Default mode: Left to right).

- Articles in Arabic are not displayed correctly in category (RTL mode: Right on the left).

So, how to display articles in Arabic correctly in category (RTL mode) without effect on articles in French / English in category (Default mode: Left to right)?

If this is not possible, I would like to target this category in RTL MODE.

Thanks a lot for your help LEO.

No problem :)

This archived topic is closed to new replies.