Color scheme use prevents category-based background image on topic pages

AI-generated summary

Users reported a bug where custom category background images no longer appear on topic pages after migrating CSS customizations to the color scheme system or upgrading to beta 8. downey noted that while the background displays correctly in the category posts view, it is missing on individual topic pages. ichpen confirmed the issue, observing that the problem began after recent commits and hypothesized that commit 7b8c7ff was the cause ichpen. downey verified that the background works in the category view but fails specifically on topic pages. The issue was subsequently resolved by zogstrip, who applied a fix in commit 2a3ceb84.

Today I switched over some CSS customizations to the color scheme system. However, after doing so, I no longer see my custom background image for topic pages in the categories where I’ve defined such a background image.

This seems like a bug to me; perhaps someone can confirm?

Maybe it wasn’t just me then. Just did the beta 8 upgrade and posts are no longer showing the custom category background. They did 15 commits or a day ago.

Not sure if that’s a feature.

Category custom bg does work if you’re in the category posts view.

Yes, that’s right. If viewing topics for the category, all is well. But when on a topic page, nothing for me

Thanks!

My guess is this commit: 7b8c7ff had something to do with it.

https://github.com/discourse/discourse/commit/7b8c7ff3ef62568c1dd4f0ade2dbdb81030b2b50

But I’ll let the experts chime in as I only have one rapidly diminishing eye able to focus at this stage :smile:

@codinghorror ?

Sorry about that, I just fixed it :tiger:

https://github.com/discourse/discourse/commit/2a3ceb84debc987cc534569c41e98aed746368d9

3 إعجابات