Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Learn More

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

  • 4 antwoorden
  • 0 hebben dit probleem
  • 72 weergaven
  • Laatste antwoord van 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.

Gekozen oplossing

Thank you so much!

Dit antwoord in context lezen 👍 0

Alle antwoorden (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; 
  }

}

Behulpzaam?

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?

Bewerkt door aidantomcy op

Behulpzaam?

more options

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

Behulpzaam?

more options

Gekozen oplossing

Thank you so much!

Behulpzaam?

Een vraag stellen

U moet zich aanmelden bij uw account om op berichten te antwoorden. Stel een nieuwe vraag als u nog geen account hebt.