Skip to content

Custom CSS Since 1.19.0 BETA

Is it possible to modify the style by integrating some custom css in Admin > Theme > Custom CSS

Don't imagine you can accomplish miracles because the templates are not designed to be easily modified, but don't be afraid to open an issue or even better a PR to add some css selectors or some usage examples to this page.

Also note that for every element you want to change the style to, you need to overload the style already there: css has an order to choose which one to use, in case of conflict the more specific selector win (or you need to specify !important).

Remove navbar

css
#navbar {
  display: none;
}

Fixed navbar

css
/* fixed navbar */
nav {
  margin-top: 80px;
}

nav > div:first-of-type {
  position: fixed;
  width: 100%;
  top: 0px;
  z-index: 1;
  background-color: #272727;
}
css
/* fixed footer */
footer.v-footer {
  position: fixed;
  bottom: 0px;
  width: 100%;
}

div.v-application--wrap {
  margin-bottom: 48px;
}
css
#navsearch .v-input {
  display: none;
}

Change aspect ration of the images

css
.img.thumb img {
  aspect-ratio: 0.7 !important;
  max-height: none !important;
}

If the images are too big, you can change the max-width:

css
#events .event {
  max-width: 300px !important;
}

Round edges to the event cards

css
.theme--light .event {
  border-radius: 10pt;
}
.theme--dark .event {
  border-radius: 10pt;
}

Kiosk / Fullscreen mode

css
.fullscreen #AppBar,
.fullscreen #footer {
     display: none;
}
js
const fullScreen = new URLSearchParams(window.location.search).get('fullscreen')
if (fullScreen === 'true') {
    document.body.classList.add('fullscreen')
}

References

#413, #451, #536, #697