@Queron your first code is exactly what I was looking for as I want two different backgrounds, one for light and one for Dark and I wanted it to be easy to upload. I was using this code from another posting
/* Customizing Background image */
body.mediawiki {
background: black url(https://images.wikia.com/dragonslippers/images/5/50/Wiki-background) center center/cover no-repeat fixed;
}
/* Background fixation */
body.mediawiki {
background-attachment: fixed !important;
}
/* No header */
.main-container .fandom-community-header__background::before {
background-image: none;
}
And it worked fine, but I couldn't figure out how to define a light and dark theme.
So I tried yours and it is great, but how do I keep it from displaying in the Header position, too?
Dragon Slippers Wiki | Fandom
I just have the light theme up right now.
I did try to use your code and the No Header code in the above example, like this:
/* use theme Header image for entire background image, this allows easier changes and different images for each theme */
body.skin-fandomdesktop {
background: var(--theme-body-background-image) fixed center 0 / cover var(--theme-body-background-color);
}
/* No header */
.main-container .fandom-community-header__background::before {
background-image: none;
}
/* End Customizing Background image */
And it didn't change the heading display. Any suggestions? Thank you!!!!!