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

Is there a way to change only the background image for new tabs in Firefox 117+?

  • 2 odgovora
  • 1 ima ovaj problem
  • 119 prikaza
  • Posljednji odgovor od Tifile

more options

Hi, I have been searching a way to change the Firefox new tab background image keeping its vanilla design. I found I could use a userContent.css file in this post from a few years ago: [https://support.mozilla.org/en-US/que.../1271362] I have followed the instructions step by step but it doesn't currently work.

Hi, I have been searching a way to change the Firefox new tab background image keeping its vanilla design. I found I could use a userContent.css file in this post from a few years ago: [[https://support.mozilla.org/en-US/questions/1271362|https://support.mozilla.org/en-US/questions/1271362]] I have followed the instructions step by step but it doesn't currently work.

Izabrano rješenje

Put the wallpaper image in the same "chrome" folder as the userContent.css:

@-moz-document url("about:home"), url("about:newtab") {
  body {
    background: url("wallpaper.jpg") center/cover no-repeat fixed !important;
  }
}


And don't forget changing toolkit.legacyUserProfileCustomizations.stylesheets to true in about:config (restart required).

Pročitaj ovaj odgovor u kontekstu 👍 0

Svi odgovori (2)

more options

Odabrano rješenje

Put the wallpaper image in the same "chrome" folder as the userContent.css:

@-moz-document url("about:home"), url("about:newtab") {
  body {
    background: url("wallpaper.jpg") center/cover no-repeat fixed !important;
  }
}


And don't forget changing toolkit.legacyUserProfileCustomizations.stylesheets to true in about:config (restart required).

more options

Thank you very much @zeroknight for your help! It worked as I needed :)!