LilTrashPanda reports that their category banner image and global alert notice are missing after updating Discourse. They share CSS used to style the landing page, noting the image is no longer displayed. Falco explains that using ember-view in CSS selectors can break functionality, as it’s an internal Ember class. LilTrashPanda confirms they fixed the issue but used excessive padding, which now causes the banner image to be cut off when scrolling. They ask if setting the background via CSS is better to ensure full coverage. The discussion highlights issues with outdated CSS selectors and layout problems post-update.
Just recently updated our Discourse to the latest version and it seems like the large banner image I’d inserted into our “Landing Page” no longer exists (and also that our Global Alert Notice box is pushed up underneath the top header bar).
I’ve figured out how to fix the Global Alert Notice, however I’m unable to get my banner image to return. Here’s the CSS we’re using – did something change that would’ve disabled this CSS?:
Edit: I solved it, but in probably the worst way possible (lots of use of padding…).
Actually, that helped me quite a bit, but now I have a bit of another weird problem…
Since updating the CSS (and having my banner image come back as desired), when I scroll down on the main page, the background image I’ve uploaded through the category settings is cut off, and only the default background color shows instead. Is it better to set the background via CSS so I can make sure it covers the entire screen?
That last bit is what’s causing the issue, I imagine… but it was the only way I knew how to “drop” the page’s content down load enough so it wouldn’t overlap the banner.