Skip to content

Commit

Permalink
docs: add .svg as valid background extension (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
lixxbox authored May 24, 2021
1 parent 9f2a541 commit e10fd11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/themes/backgrounds.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ For uploads you can use the built-in file manager. `(Settings > Machine)`
Just load a background image into your .theme folder and name it `sidebar-background.<extension>`.

| Filename | sidebar-background |
| Valid file extensions | .jpg, .png and .gif |
| Valid file extensions | .jpg, .png, .gif and .svg |
| Recommended image size | 300x1000px |

## Mainview background image
Upload a background image into your .theme folder and name it `main-background.<extension>`.

| Filename | main-background |
| Valid file extensions | .jpg, .png and .gif |
| Valid file extensions | .jpg, .png, .gif and .svg |

**Please note**: By default, the background image is stretched to the entire area.
For example, if you want a repeating pattern, you also need to use custom css.
{: .info}
{: .info}

0 comments on commit e10fd11

Please sign in to comment.