How to change text orientation from LTR to RTL

By default, all Weebly sites are set LTR. You can change this in the html codes to change the text orientation. You will need to customize this on every page layout HTML to make the adjust for your entire site. Here is how you can customize the code:

  • Log into your Weebly
  • Click into “design” then into “Edit html/css”
  • Here you will see all your page layout display on the left-hand column listed under “PAGE LAYOUT”. You will need to edit ALL the pages on your list. You cans start with index and work your way down. Click into the page layout you want to edit
  • At the top of the page you will find this code:

    <!DOCTYPE html>
    <html xmlns="">

  • Here ADD the direction code highlighted below:

    <!DOCTYPE html>
    <html xmlns="" dir="rtl">

  • Repeat the process above for ALL of your page layouts
  • Once complete save your change and re-publish your site