Support » Themes and Templates » Arras theme – LTR where supposed to be RTL

  • New to WordPress and I need some help.

    I am using the latest version of the Arras theme, and the latest version of WordPress.

    The problem is this:
    My website is right to left, I told Arras to use the RTL CSS file and most things worked well. The only problem I had was that for some reason, the comment content list is displayed from left to right.

    Tried many things, but nothing really worked. Looking at the code using inspect element, I can see that a “text-direction: ltr;” is being added right below the ‘comment-content’ div. It looks like this:

    <ol id="commentlist" class="clearfix">
                    <li class="comment even thread-even depth-1" id="li-comment-1">
            <div class="comment-node" id="comment-1">
                <div class="comment-controls">
                <a class="comment-reply-link" href="/wordpress/?p=1&replytocom=1#respond" onclick="return addComment.moveForm(&quot;comment-1&quot;, &quot;1&quot;, &quot;respond&quot;, &quot;1&quot;)">להגיב</a>            </div>
                <div class="comment-author vcard">
                <img alt="" src="" class="avatar avatar-32 photo avatar-default" height="32" width="32">            <cite class="fn"><a href="" rel="external nofollow" class="url">commenter</a></cite>
                            <div class="comment-meta commentmetadata">
                    Posted:<abbr class="comment-datetime" title="2011-05-19T19:31:12+00:00">May 19, 2011 at 19:31</abbr>            </div>
                <div class="comment-content"><div style="direction: ltr;">

    (image: )

    As you can see, there is another div, making the whole thing LTR right before the comment itself. I did not edit it, and nowhere can I find the code leading to this – not in the CSS files, nor in the theme itself. This has never happened to me with any other
    theme. Anyone has an idea?

    By the way, the site is currently on a local virtual server, so I can’t really link to it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael


    Forum Moderator

    you could try to force the rtl with:

    .comment-content div { direction: rtl!important; }

    do you have any plugins activated that might influence the comments output?

    Ok, that worked. Thanks!

    do you have any plugins activated that might influence the comments output?

    No! And that what bugs me… this is a clean WordPress install, no plugins added. Only this theme. Weird, isn’t it?

    Any idea why would WordPress throw that CSS style there?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Arras theme – LTR where supposed to be RTL’ is closed to new replies.