Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

How to change the direction to RTL?

edited December 2005 in Vanilla 1.0 Help
I'm translating this script to Hebrew, but Hebrew written from Right to Left, so I need to change the template's direction to RTL (add "dir=rtl" in the main html tag: <html dir=rtl>). Where can I find the main html tag?

Comments

  • Probably somewhere in the Common.Controls.php file.
  • themes\vanilla\templates\head.php, line 7
  • edited December 2005

    Shouldn't it be done in CSS, strictly speaking?

    body {
      direction: rtl;
    }
    
  • lechlech
    edited December 2005
    CSS would be the way to go with this. Sorry I didn't spot this thread sooner, but aanand hit it on the head.
This discussion has been closed.