Home › Forums › Support › Widget Support › EasyBlog › Is it possible to change text directions to Right-to-Left?
- This topic has 6 replies, 2 voices, and was last updated 8 years, 1 month ago by
responsive-muse.
- AuthorPosts
- April 18, 2018 at 7:07 pm #37425
AnonymousInactiveI think this one is a bit harder to address. But I wanted to know can I do the following things:
1. Making the text direction of the “Post titles”, “Post descriptions” and “Post contents” Right-to-Left.
2. When you type your text into the “Post title”, “Post description” and “Post content” fields, the written text being shown and formatted as Right-to-Left in the text fields.Keep in mind I’m not talking about simply aligning texts to the right. I’m talking about changing text direction of the texts from Left-to-Right to Right-to-Left which converts the whole formatting of the text and makes it suitable for Right-to-Left languages.
Although while being in the EasyBlog control panel I tried using the “Source code” option in the “View” menu(View>Source code) and added a
dir=rtlattribute to a paragraph element(an HTML<p>tag). But it only works for the “Post contents”. What about “Post titles” and “Post descriptions”?Thank you in advance.
April 19, 2018 at 8:19 am #37451
responsive-museKeymasterYou can try to apply this CSS to the body tags that you want to change to RTL
<body style="direction: rtl!important;">It should look something like this around line 615 of easyblog.php

Tell us if it works! 🙂
April 19, 2018 at 12:45 pm #37473
AnonymousInactiveThank you. Well actually it is solved. But one minor issue remains.
Now when I type into the text fields of the control panel the texts are written as Right-to-Left except for the Posting area where I need to manually insert the
dir=rtlattribute. So if this one resolves I’ll be very grateful:Is there any way to also make the “Main posting page” right-to-left by default? Because applying the style to the
<body>tags didn’t have any affect on it and as it seems the Posting module seems to be embedded from elsewhere.P.S. By the way I also needed to apply the style to the
<body>tag of the page where I located the EasyBlog widget(The main page of the blog). Just wanted to say for others to know as well.Thank you again.
April 19, 2018 at 2:30 pm #37484
responsive-museKeymasterThat’s cool.
To change the editor, since it’s a third party call, you can try adding this line:

Not tested, but it should work.
April 19, 2018 at 3:33 pm #37492
AnonymousInactiveWell again it seems it partially works.
When I go to the posting section of the control panel the text field is Right-to-Left but apparently it converted to some kind of plain text editor where I must put the whole HTML code for the blog post. As you see the toolbars and menus are gone too.(I accidentaly took a screenshot of an English written page, but I checked an I can write a Right-to-Left text in the field)

Again thank you for helping me.
April 19, 2018 at 3:49 pm #37495
AnonymousInactiveNevermind. Now it’s completely working and working like a charm. 😀
I was just so obsessed with CSS syntax that I ended the
directionality: 'rtl'line with a semicolon instead of a comma 😓.Anyway now everything is running as intended. You can close the topic.
Thanks for all your helps.
April 19, 2018 at 9:30 pm #37505
responsive-museKeymasterThat’s cool, glad to help! 🙂
- AuthorPosts
- The topic ‘Is it possible to change text directions to Right-to-Left?’ is closed to new replies.



