Home Metronic Hire Us Buy Now
The World’s #1 Bootstrap 4 & 5 HTML, Angular 11, React, VueJS & Laravel
Admin Dashboard Theme

## RTL Version

Right to Left (RTL) version CSS files are included within the theme. To change it, find the "RTL Version" CSS link in the source code files.

1. Run assets compiler with `--rtl=true` flag in `[metronic]/theme/html/tools` folder to generate the RTL version of CSS files.

       gulp --rtl=true --demo1

   The target demo name must be specified in the command.

2. Find ALL CSS files import and enable the RTL files by changing the suffix name `*.rtl.css`. For example:

       <link href="assets/plugins/custom/fullcalendar/fullcalendar.bundle.rtl.css" rel="stylesheet" type="text/css" />
       <link href="assets/plugins/global/plugins.bundle.rtl.css" rel="stylesheet" type="text/css" />
       <link href="assets/plugins/custom/prismjs/prismjs.bundle.rtl.css" rel="stylesheet" type="text/css" />
       <link href="assets/css/style.bundle.rtl.css" rel="stylesheet" type="text/css" />
       <link href="assets/css/themes/layout/header/base/light.rtl.css" rel="stylesheet" type="text/css" />
       <link href="assets/css/themes/layout/header/menu/light.rtl.css" rel="stylesheet" type="text/css" />
       <link href="assets/css/themes/layout/brand/dark.rtl.css" rel="stylesheet" type="text/css" />
       <link href="assets/css/themes/layout/aside/dark.rtl.css" rel="stylesheet" type="text/css" />

3. Add the direction attribute to the root HTML tag:

       <html direction="rtl" dir="rtl" style="direction: rtl" >

For more information about the RTL in Angular, check it here.