until now all images were in the docs/assets folder. From now on, an "img" folder should be created in the respective subfolders of the categories, where the images are contained. They are then "closer to the corresponding description". The assets folder should only contain general graphics like logos.
1.2 KiB
layout, title, parent, grand_parent, nav_order, permalink, redirect_from, description
| layout | title | parent | grand_parent | nav_order | permalink | redirect_from | description | |
|---|---|---|---|---|---|---|---|---|
| default | Backgrounds | Theming | Features | 10 | /features/theming/backgrounds |
|
Place some background images to give Mainsail its own look with ease. |
{{ page.title }}
{{ page.description }}
There are two background images that can be used in Mainsail. The first is in the sidebar and the second is in the main section.
You can upload a new background image using the file manager located in Settings > Machine.
Sidebar background image
Load the background image into your .theme folder and name it sidebar-background.<extension>.
| Filename | sidebar-background | | Valid file extensions | .jpg, .png, .gif and .svg | | Recommended image size | 300x1000px |
Main background image
Upload a background image into your .theme folder and name it main-background.<extension>.
| Filename | main-background | | Valid file extensions | .jpg, .png, .gif and .svg |
Please note: The background image is stretched to cover the entire area by default. For example, if you want a repeating pattern, you will also need to use custom CSS to style it correctly. {: .info}
