WordPress.org

Ready to get started?Download WordPress

Forums

RTL Support (3 posts)

  1. socket
    Member
    Posted 9 years ago #

    Hey,
    I've just installed wordpress 1.5
    im trying to use the default theme in RTL layout (because my blog is in Hebrew which is a right to left language)

    Anyways, I've added a <div> tag inside the <body> tag that encapsulates the whole body content
    the div tag i added has the dir=rtl in it which make the theme RTL compatible

    The only problem is that the search in the side bar is being positioned 500px to the right.....
    you can see it here http://quotez.org/blog
    you'll have to use the horizontal scroll bar to find the search form.
    I've looked in the CSS for something that would explain this but couldn't find any reason...
    please help.

  2. the1_ts
    Member
    Posted 9 years ago #

    Changing the css to the below worked in firefox

    /* Begin Sidebar */
    #sidebar
    {
    padding: 20px 0 10px 0;
    margin-left: 0px;
    width: 190px;
    }

  3. Lorelle
    Member
    Posted 9 years ago #

    Make sure you set your html to:
    <html dir="rtl">
    And that your doctype is set to Hebrew, which I think is HE.

    Remember also, that the RTL is also controlled by your computer. If you are running Win98 Hebrew Enabled plus an older MSIE browser, then the software can and will override whatever you put in your tags because it just doesn't recognize the instructions. I've fought with this for several years. In WinXP, some but not all of those problems went away, though the latest version of MSIE seems to make most of them go away if there are instructions that really reinforce the rtl theme.

    I have some tips on this on my site talking about directional ploys. I hope this helps.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.