Correct position options in ReadMe

This commit is contained in:
Jono Menz 2020-12-14 14:07:09 -08:00 committed by GitHub
parent 5d7e7b0087
commit 3d3a7baa19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 9 deletions

View File

@ -49,10 +49,10 @@ public function showBetterNavigator()
You can mark certain CMS users as developers in your site's config, so they can access developer tools when logged in. Example YAML:
```
BetterNavigator:
developers:
- 'dev@yoursite.com'
- 'otherdev@yoursite.com'
BetterNavigator:
developers:
- 'dev@yoursite.com'
- 'otherdev@yoursite.com'
```
## Customisation
@ -60,15 +60,15 @@ You can mark certain CMS users as developers in your site's config, so they can
BetterNavigator can be made translucent when collapsed by adding the following config setting:
```
BetterNavigator:
translucent: true
BetterNavigator:
translucent: true
```
BetterNavigator position can be set to 'top-right', 'top-left', 'bottom-right' or 'bottom-left' by adding the following config setting:
BetterNavigator's default position is 'right-top', but can be changed to 'right-bottom', 'left-top' or 'left-bottom'. Example:
```
BetterNavigator:
position: 'bottom-right'
BetterNavigator:
position: 'right-bottom'
```
BetterNavigator's output is controlled by templates so it can be [easily overridden](http://doc.silverstripe.org/framework/en/topics/theme-development#overriding).