Changing background color of search box and quick links in new tab
How do I change the background color of the search box and quick links in a new tab? I'm using Firefox color.
தீர்வு தேர்ந்தெடுக்கப்பட்டது
Thank you so much!
Read this answer in context 👍 0All Replies (4)
Themes can change this with ntp_card_background but it is not exposed by Firefox Color.
Another way is with userContent.css:
@-moz-document url(about:home), url(about:newtab) { body { --newtab-background-color-secondary: red !important; }
}
So how do I change it? I'm not planning on publishing a theme (I'm just doing this to change the appearance of Firefox for myself). I tried poking around in the CSS and changing the variable works fine. How do I make it permanent?
aidantomcy மூலமாக
Follow the same procedure here but name the file userContent.css instead of userChrome.css.
தீர்வு தேர்ந்தெடுக்கப்பட்டது
Thank you so much!