Category Background Won't Work Right

AI-generated summary

The discussion revolves around a bug where category background images in Discourse are not displaying correctly, sometimes appearing briefly before being covered by the UI. CrackMasterK reports the issue, noting that the background image loads but is pushed beneath content, and provides screenshots and a video for reference. awesomerobot confirms the issue on a test site, suggesting a possible bug. codinghorror flags the issue, and eviltrout identifies the cause: a change in slug format that broke background image support, though a fix is now available in the latest commit.

EDIT: I saw this got moved to Support, My mistake I didn’t mean to miscategorize it.

So I’ve tried a few different things but the category background won’t work for me anymore.

Surprisingly that is will sometimes display for a microsecond then the UI of the discourse covers the whole image almost like it’s under everything?

It’s rare but I do see this happen from time to time.

https://cimmarian.discoursehosting.net/c/survival-horror/resident-evil

I have tried removing any custom CSS to see if this was causing it even tried microsoft edge etc. It has me puzzled.

2 Likes

I made sure it’s loading and it does load but for some reason bumps under the content.

Still stumped on how to tackle and fix this issue.

1 Like

Hmm looks like a possible bug in Discourse, I tried to set a background image for a category on our trial site… sports - Discourse Demo and it doesn’t load there either. The image is saved in the setting, but not added to the page. I’ll investigate some more.

3 Likes

Thanks a bunch, If you need any details from my end let me know and i’ll try to post it.

3 Likes

Eeek we should get this fixed tomorrow-ish @eviltrout

4 Likes

It looks like this is the result of our slug format changing and background images only working with the old format. As of this commit it supports both:

https://github.com/discourse/discourse/commit/8e3f667d7c6f515dc91f3ddb47b0c3b3b31782f1

4 Likes

This topic was automatically closed after 31 hours. New replies are no longer allowed.