Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

Changing background color of search box and quick links in new tab

  • 4 antwurd
  • 0 hawwe dit probleem
  • 182 werjeftes
  • Lêste antwurd fan aidantomcy

more options

How do I change the background color of the search box and quick links in a new tab? I'm using Firefox color.

How do I change the background color of the search box and quick links in a new tab? I'm using Firefox color.

Keazen oplossing

Thank you so much!

Dit antwurd yn kontekst lêze 👍 0

Alle antwurden (4)

more options

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; 
  }

}

more options

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?

Bewurke troch aidantomcy op

more options

Follow the same procedure here but name the file userContent.css instead of userChrome.css.

more options

Keazen oplossing

Thank you so much!