Changes
Page history
Update Custom CSS
authored
Oct 08, 2020
by
Armin Bernstetter
Show whitespace changes
Inline
Side-by-side
Templating/Custom-CSS.md
View page @
c887f0e4
...
@@ -16,6 +16,20 @@ div.slides {
...
@@ -16,6 +16,20 @@ div.slides {
background-color
:
#ddd
;
background-color
:
#ddd
;
}
}
```
```
---
## Adding a background image to all slides
If you want to include a background image on
**all**
slides, e.g. the Uni Würzburg banner you can do this by adding the following code to the CSS file
```
body {
background: url( "assets/title-banner-jmu.jpg" );
background-size: contain;
background-repeat: no-repeat;
}
```
Keep in mind that if a slide has a lot of text content it is possible that the slide title will overlay the banner