Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

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
Solved Archived

Remote content warning bar color customization broken in recent update

ecomaniac

Hi all,

The remote content warning bar is back to its obnoxious bright yellow color in one of the recent updates. Previously, many of us had found a way to customize the color here: https://support.mozilla.org/en-US/questions/1273397. This workaround permitted the user to change the bar to black (or any preferred color) which was much kinder to the eyes - esp. for those of us using dark themes.

All the changes I made per the link above are still present, but no longer seem to have an affect. Perhaps TB is no longer supporting legacy style sheets. Can anyone suggest a tweak to get this working again?

TIA, Chris

Hi all, The remote content warning bar is back to its obnoxious bright yellow color in one of the recent updates. Previously, many of us had found a way to customize the color here: https://support.mozilla.org/en-US/questions/1273397. This workaround permitted the user to change the bar to black (or any preferred color) which was much kinder to the eyes - esp. for those of us using dark themes. All the changes I made per the link above are still present, but no longer seem to have an affect. Perhaps TB is no longer supporting legacy style sheets. Can anyone suggest a tweak to get this working again? TIA, Chris
Read this answer in context

Chosen Solution

Problem solved in above referenced thread.

Current working code (TB v91.0.2) set for white text on black background: ____ /*

  • Do not remove the @namespace line -- it's required for correct functioning
*/

@namespace html url("http://www.w3.org/1999/xhtml");

html|div.container.infobar[role="alert"] {

 background-color: #262626 !important;
 color: #ffffff !important;

} ____

C

All Replies (4)

Style sheets are still supported, but I don't know why that particular css doesn't work in 91, as the id for the bar is still
#mail-notification-top
.

Thx for the info re style sheets. The namespace url is still active and my config edit hasn't changed (toolkit.legacyUserProfileCustomizations.stylesheets = true). My profile is the same so I'm at a loss.

Thanks for the reply.

C

Try here, where a few css experts visit.

Working solution for TB 91: http://forums.mozillazine.org/viewtopic.php?f=39&t=3078421

Modified by sfhowes

Chosen Solution

Problem solved in above referenced thread.

Current working code (TB v91.0.2) set for white text on black background: ____ /*

  • Do not remove the @namespace line -- it's required for correct functioning
*/

@namespace html url("http://www.w3.org/1999/xhtml");

html|div.container.infobar[role="alert"] {

 background-color: #262626 !important;
 color: #ffffff !important;

} ____

C