WordPress.org

Support

Support » Themes and Templates » RTL Support

RTL Support

  • 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Changing the css to the below worked in firefox

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

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘RTL Support’ is closed to new replies.
Skip to toolbar