Skip to content

Commit bac899e

Browse files
authored
Add RTL text direction configuration instructions
Added instructions for setting text direction to RTL in UI configuration.
1 parent a7dce0d commit bac899e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

7.x-dev/base-how-to.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@
66
<a name="look-and-feel"></a>
77
## Look and feel
88

9+
<a name="text-direction-ltr-or-rtl"></a>
10+
### Text direction: LTR or RTL
11+
12+
By default, the text direction is set to left-to-right. If your UI is in Arabic, Hebrew or any other language that needs to show right-to-left, you can easily enable that - just go to `config/backpack/ui.php` and change the `html_direction` variable to `rtl`:
13+
14+
```
15+
// Direction, according to language
16+
// (left-to-right vs right-to-left)
17+
'html_direction' => 'ltr',
18+
```
19+
920
<a name="customize-menu-or-sidebar"></a>
1021
### Customize the menu or sidebar
1122

0 commit comments

Comments
 (0)