Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Learn More

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

  • 4 odgovora
  • 0 ima ovaj problem
  • 116 prikaza
  • Posljednji odgovor od 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.

Izabrano rješenje

Thank you so much!

Pročitaj ovaj odgovor u kontekstu 👍 0

Svi odgovori (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; 
  }

}

Korisno?

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?

Izmjenjeno od aidantomcy

Korisno?

more options

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

Korisno?

more options

Odabrano rješenje

Thank you so much!

Korisno?

Postavi pitanje

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.