Buscar en Ayuda

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Newtab background color changes new tabs but not startup page

  • 2 respuestas
  • 1 tiene este problema
  • 11 visitas
  • Última respuesta de L40P

more options

Hi, so I wanted my newtab page to be dark and customized it by editing the userContent.css with "@-moz-document url("about:newtab") {body { background-color: #121212 !important;}}"

It works fine when opening new tabs. The weird thing is that it doesn't change the background color of the "newtab" page that shows up when you start Firefox. I'm new to the whole userContent.css stuff so thanks for any help you can give!

Hi, so I wanted my newtab page to be dark and customized it by editing the userContent.css with "@-moz-document url("about:newtab") {body { background-color: #121212 !important;}}" It works fine when opening new tabs. The weird thing is that it doesn't change the background color of the "newtab" page that shows up when you start Firefox. I'm new to the whole userContent.css stuff so thanks for any help you can give!

Solución elegida

There is a different internal "address" for that page. Try starting your rule this way:

@-moz-document url("about:newtab"), url("about:home") {

Leer esta respuesta en su contexto 👍 1

Todas las respuestas (2)

more options

Solución elegida

There is a different internal "address" for that page. Try starting your rule this way:

@-moz-document url("about:newtab"), url("about:home") {

more options

Thank you! I also found another solution which is described here: https://www.reddit.com/r/firefox/comments/7d1rwn/dark_new_tab/