Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

change findbar text background color.

  • 4 replies
  • 1 has this problem
  • 6 views
  • Last reply by Terry

more options

I don't like the dark red background used by FF when text is not found with the find bar (it is hard to see with the forced dark theme). I would like to change the color for a lighter red, or maybe just have the cyan border turning red. and also change the default cyan border for another color.

But i don't know the css code for this.

I don't like the dark red background used by FF when text is not found with the find bar (it is hard to see with the forced dark theme). I would like to change the color for a lighter red, or maybe just have the cyan border turning red. and also change the default cyan border for another color. But i don't know the css code for this.

All Replies (4)

more options

i would also like to change the background pages default color (it is currently dark, and i don't like the black flickering each time i want to refresh or change webpage with light theme like google or 90% of every websites on internet.

Modified by thor94

more options

As to your first question, you could ask on the Reddit FirefoxCSS sub if you don't get an answer here. For the second, there is a preference in about:config layout.css.prefers-color-scheme.content-override Dark (0), light (1), system (2) or browser (3) If that doesn't work, you may have to change your theme.

more options

I don't want change the theme, it is the reason why i would also like the chromecss code to only change the page current default color (which is dark) to white.

And it is stupid to link the color mode to the theme text color, because white text is also used for almost all pastel color themes which are light.

more options

I take it the preference doesn't help. You could try this in userChrome.css. https://support.mozilla.org/en-US/questions/1364054#answer-1473397

:host, :root {
color-scheme: light light !important;
}