1

I wanted to make the CorporateClean theme RTL. Every thing is Ok except Main Menu. It effects alignment for both languages. For Persian is also right and for English as well. As example: I wrote the following code in RTL Css file

#header-menu ul.menu li {
float:right;
dir:rtl;
text-align:right;
}

It makes the menu RTL for both English and Persian languages.

0

you mistake is here dir:rtl; :(, and correct code will be below "dadash"

#header-menu ul.menu li {
float:right;
direction:rtl;
text-align:right;
}
  • Actually I use this code direction:rtl; and exactly the code you wrote above.But the problem is that my site reads the style-rtl.css before style.css. – JK Ahmadi Jan 17 '15 at 7:01
  • @jkahmadi so it can happened because of very reasons !!!, if you sure that style.css load after style-rtl.css exchange them :D , Check the .info file and be sure stylesheets[all][] = css/style-rtl.css is after stylesheets[all][] = css/style.css – Yusef Jan 17 '15 at 8:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.