This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Wannan tattunawa ta zama daɗaɗɗiya. Yi sabuwar tambaya idan ka na bukatar taimako.

Black text on dark background on some sites

  • 4 amsoshi
  • 1 yana da wannan matsala
  • 1 view
  • Amsa ta ƙarshe daga cor-el

more options

Hi,

When I upgraded to version 98.0 (64-bit) on Windows 10, some websites like Mashable.com and Bigthink.com display black text on a dark background. See attached image.

This is not theme-dependent.

I tried switching network.http.http3.enabled to "false", but that was fixed anyway, so it had no effect.

Hi, When I upgraded to version 98.0 (64-bit) on Windows 10, some websites like Mashable.com and Bigthink.com display black text on a dark background. See attached image. This is not theme-dependent. I tried switching network.http.http3.enabled to "false", but that was fixed anyway, so it had no effect.
Hoton allon fuska da aka liƙa

All Replies (4)

more options

It does not affect the display of most sites. These two are the only examples so far.

more options

You can check the default colors (back text on white background) and also make sure you allow pages to choose their own colors.

  • Settings -> General: Fonts & Colors -> Colors: "Override the colors specified by the page with your selections above"

Try "Never" if the default "Only with High Contrast themes" isn't working.

You can select a theme that has dark text on the tabs (toolbars) if you currently use a theme with light text.

You can change this pref on the about:config page from 3 to 2 to revert to the Firefox 94 behavior regarding to prefer dark or light background for webpages.

  • layout.css.prefers-color-scheme.content-override [dark:0, light:1, system:2, browser:3]

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

more options

Thank you so much for the answer, but none of the settings did anything to the aforementioned sites. I also tried changing (...)content-override to 1, and it worked on all the other pages I have open, but not those two. :P

I restarted FF in between.

more options

The bigthink.com website has parts (.bg-black) that have a black background and light text, so that happens by design and in intentional. If you get the dark background, but not the light text then something seems to override the light text color.

An gyara daga cor-el