I have been working on a WordPress site on my local host. Every things was working fine for my right to left language (Arabic). but after I have uploaded the site to the web-hosting server I noticed ONLY right to left problems. The layout works fine when I switch to Arabic but some issues happen like:
-
The list numbers goes to the left of the text instead of going to the
right. -
Some boxes do not order from right to left.
-
The contact forms floats to the left instead of the right.
Is the problem cause comes from the hosting server (Linux server). And what is the solution for such problem.
Ok so after viewing your site you are using css
float
to move the text. My suggestion would be to remove thedir="ltr"
in the html tag as this causes the site to be rendered left-to-right. Use the CSSdirection:rtl
clause instead of floats to set your text.. As I have said in the comments I am not familiar with rtl languages so I can only go on what seems to work when I play with it in my browser.