Writing a Mixed LTR and RTL bilingual post

Posted in: Newspaper
Post count: 11

Hello Support,
i try to add some posts that have 2 languages in the same post (Arabic & English)
but when i write in Arabic and i make the alignment of text to the right, then i switch the keyboard to english and try to write a word in english, then i get back to Arabic and try to continue the sentence in Arabic, the English word doesn’t appear in the same position, it goes to the beginning of the line.

i don’t want to convert the whole theme to RTL version, i just want to write a post in mixed languages RTL & LTR, is there any solution for that?

Post count: 35449

Hi healthcarebusinessclub, I think that there can be more solutions for this, but the one that I have in my mind it is related to a css that need to be added for the RTL text, something like in this example https://codepen.io/citizen0501/pen/OVxJjv in case that this is not working, you can add a class like this one https://i.imgur.com/80hFNDg.png and set a css like this one https://i.imgur.com/Q2MfdOs.png (the css need to be set in the theme panel custom code> custom css) then set that class for all paragraphs.
I hope it will help you.

Post count: 11

Hello Calin, thanks a lot for your support, the first way works well, for the second way
what is the css code to write in the custom css in (theme panel) and how to set this class for all paragraphs?

Post count: 21065

Hello!

This is the CSS which you need to add it there: https://www.screencast.com/t/kH2KZSty

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.