Skip to content

Commit 2bdee85

Browse files
committed
docs: Add Custom Styling
Relates to #346
1 parent ff6e3c8 commit 2bdee85

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,21 @@ MySQL and MariaDB have a possible silent truncation problem with the `GROUP_CONC
309309
KOMUNUMO_DB_URL=jdbc:mariadb://localhost:3306/komunumo?serverTimezone\=Europe/Zurich&allowMultiQueries=true
310310
```
311311

312+
### Custom Styling
313+
314+
The visual appearance of *Komunumo* can be customized to your instance's need. As of now, this configuration is globally per instance (e.g. no further styling per community).
315+
316+
To load a custom stylesheet (CSS file), just add it to the following location and restart your instance:
317+
318+
```
319+
{KOMUNUMO_FILES_BASEDIR}/custom/styles/styles.css
320+
```
321+
322+
*Komunumo* detects whether this file is present and if so loads it within the HTML output of all pages.
323+
324+
If you reference other static files like images from your stylesheet, make sure to put those files in the same directory as the `styles.css` file.
325+
326+
312327
## Copyright and License
313328

314329
[AGPL License](https://www.gnu.org/licenses/agpl-3.0.de.html)

0 commit comments

Comments
 (0)