Erik_Manger is experiencing an issue with his CSS code for Discourse backgrounds, where the image doesn’t scroll down and a white background appears instead. He provided the CSS code for the background and mentioned that the category background feature won’t work without a white background for topics.
simon suggested setting any wrapper elements inside the body to min-height: 100%, which he achieved by setting section#main{min-height: 100%}. He also recommended using the browser’s web inspector to try out changes.
However, it was Qasem_h who provided the solution. He suggested that the issue was with the body:before pseudo-element being set to position: fixed, which prevents it from scrolling with the page. He provided a revised version of the CSS code, which Erik_Manger confirmed worked perfectly.
I have a CSS code for Discourse backgrounds. The problem is, when I scroll down, the image doesn’t scroll down - rather, a white background appears and covers the wallpaper…
In case you aren’t already doing it, you can try these kinds of things inside of your browser’s web inspector. On Chrome, right click on a page and select ‘inspect element’. It’s a lot easier if you have 2 monitors, You can detach the inspector window and have enough room to see what is going on and try things out.