White backgrounds appearing unexpectedly

סיכום מבוסס בינה מלאכותית

donaldsoncd reported an issue where the forum’s background suddenly appeared white in certain areas, such as the composer and main interface, despite using the Horizon theme with a custom cream-colored palette (#FFFDF1). The problem was isolated to the admin account initially, while a test user account displayed correctly. Through Chrome’s developer tools, donaldsoncd observed that the CSS variable --d-content-background was calculated as nearly white rather than the intended custom color. Manually overriding this variable resolved the appearance issue. chatoi suggested checking safe mode, the Foundation theme, and any staff-only “upcoming changes” features as potential causes.

In post 3, donaldsoncd confirmed the issue persisted in safe mode and also appeared when switching to the Foundation theme, indicating it was not specific to Horizon. denvergeeks reported similar behavior on Horizon, assuming it was a local glitch. Although donaldsoncd disabled all staff-only upcoming changes, the white background remained (post 5). Adam_Root hypothesized a user-specific CSS override or browser extension issue, recommending checks in incognito mode and a deeper DevTools analysis of computed styles.

Extensive troubleshooting with chapoi led to the conclusion that the problem is likely tied to donaldsoncd’s specific Chrome browser setup, as it did not reproduce on Safari, mobile devices, or on another user’s machine (post 10). Key findings included:

  • The issue was not admin-specific; it eventually affected a regular user account as well.
  • It was not theme-specific, occurring in both Horizon and Foundation.
  • Clearing cookies, cache, and disabling extensions did not resolve it.
  • The problem does not reproduce on different browsers or devices.

The cause remains unidentified, with a potential browser version issue being a possibility. Users experiencing similar issues are encouraged to report reproducible steps.

Hello!

Today, I noticed that some areas of my Discourse forum have suddenly started appearing white instead of my usual cream background. This includes the composer and parts of the main interface.

Examples from my main admin account:

Here is the issue not occurring with test user account:

I’m using the Horizon theme with a custom color palette and using light mode with both accounts. Here’s screenshots:

I initially thought the issue was related to the new composer redesign, but disabling that didn’t resolve it.

I’m not a developer, so I’m unsure whether this is a bug in Horizon, a recent Discourse change, or something specific to my configuration.

With some AI help, I used Chrome’s developer tools to investigate. It looks like the CSS variable --d-content-background is being calculated as nearly white, even though my palette’s background color is #FFFDF1. Temporarily changing that variable to #FFFDF1 fixed the appearance.

Has anyone else encountered this and can you help me resolve?

It’s helpful to try in safe mode, to see if it persists, and also try on Foundation please. It helps to narrow things down.

Also have a look if you have any upcoming changes only enabled for staff maybe, could be a culprit too.

Thank you!

I tried it in safe mode (without switching anything else) and then my Forum looks like the Foundation theme and I still see some unexpected white areas:

I will try turning on and off some things, but if that triggers any ideas, please let me know!

UPDATE: When I switch to use Foundation (not in safe mode) as my preferred theme, I see white all over:

When I go back to Horizon and check the appropriate color palette, I don’t see any white:

I didn’t have this issue before so I’m guessing it might be one of the upcoming changes.

I’ve noticed some of the same happening on Horizon. I assumed it was a glitch on my end.

Following up: I have tried turning off all the “upcoming changes” that were only for admin/staff and therefore might be creating the issue for me, but nothing makes the white background go away. My test user account still has the expected background that I used to have for my admin account.

Any ideas for places to look now or should I be reaching out to support in some other way?

No idea yet, I’m looking into it and will update here if I find the cause.

Hi @donaldsoncd

Since the issue only occurs with your admin account and not the test user, it looks more like a user-specific theme or CSS issue rather than a general problem with Horizon.

You’ve already identified that --d-content-background is being set to white instead of your custom background color, which is a good starting point.

I’d suggest checking whether any custom CSS or theme components are overriding this variable. You can also try temporarily disabling your theme components to see if the issue disappears.

Another useful test would be to open the forum in an incognito window using your admin account to rule out any browser extensions or cached styles.

If the issue continues, check the computed styles in Chrome DevTools to identify which CSS rule is setting the background to white. That should help narrow down the cause.

Hope this helps!

Thanks @Adam_Root!

@chapoi worked with me extensively to try to troubleshoot in real time and our conclusion after lot of investigating, we have concluded for now that it has something to do with my Chrome browser and/or browser setup that we cannot identify.

Since we don’t think that it’s occuring for other users of my forum, I will live with it and pray that something happens or I stumble across the cause before my death! :upside_down_face:

Yes quick recap:

  • Not admin related: in the end, Donaldoncd also got it with a regular user
  • Not theme related (happens in Foundation too)
  • Doesn’t repro on their Safari
  • Doesn’t repro on their Discoursehub/phone
  • Doesn’t repro for me anywhere
  • Not fixed by clearing cookies/cache
  • No extensions enabled

We haven’t checked browser version yet, so maybe a wonky version?

Unknown what triggered it.

If anyone can find a solid repro, do tell!