CSS problems

6 replies [Last post]
Joined: 06/06/2009
Points: 3

Hi,
My blog is in Hebrew (right to left) and the preview picture appears wrong (see: http://benhamo.org/wp/?p=1505&cpage=1#comment-14635 for example). the thumbnail is in the wrong place and if I put some comments, they will be indented to the left, not to right where it should be.

Thanks,
Hetz

Joined: 03/29/2009
Points: 764

What happens when you indent them manually to the right? Does this work?

Joined: 01/05/2009
Points: 1697

Hi Hetz,

Under each comment div, you have a div with the style: "direction:ltr"
Check template code for this div, and change it to "direction:rtl" - this will fix the image to the right.

Joined: 06/06/2009
Points: 3

this statement *does not* come from my blog's code, nor from the theme or any plugin, it seems that it comes directly from Kaltura's servers and that's something which I cannot change :)

To make sure it's not my fault, I did a full grep on any "direction" statement on my entire blog's code. Nothing there gives "direction: ltr"..

Any suggestions?

Thanks,
Hetz

Joined: 06/06/2009
Points: 3

When I write a simple text as a talkback in Hebrew, everything works great and the code looks like this when looking at the source code..

<div class="edit-comment" id="edit-comment14629"><div style='direction: rtl;'>  
<p>לגבי חלונות 7, כתבתי סקירה על כך כאן בבלוג, הוא רץ דווקא לא רע בכלל על הנטבוק שלי, אבל הפואנטה שלי היא חוסר ההגינות במניעת תחרות שהצרכן יכול להרוויח ממנה ו"הענשת" המשתמשים ע"י הטמעה של מעבד גרפי מסכן שכל דבר בשוק עוקף אותו.</p>
</div>

But when I'm adding a video comment, the code looks like this:

<div class="edit-comment" id="edit-comment14635"><div style='direction: ltr;'>
<p>[kaltura-widget wid="0x0cspm874" size="comments" /]</p>
</div>

So it clearly looks like it's something related to how you insert the video comments which makes the comment use LTR instead of RTL and ignore parent rules..

Joined: 01/05/2009
Points: 1697

Hi Hetz,

It looks like the plugin is adding the code, so you might want to check the code of the plugin for ltr and change it to rtl.
Hopefully Roman, the developer of the plugin, will have time to comment too.

Joined: 02/22/2009
Points: 32

Hi Hetz,

The LTR is not coming from our plugin, we only take the kaltura-widget part and change it to an embed code.

Maybe the template you are using identifies the language in the comment and indent the text?