Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Learn More

How can I change the Firefox brand logo to a different image on the about:home page using CSS?

  • 2 odpowiedzi
  • 1 osoba ma ten problem
  • 1 wyświetlenie
  • Ostatnia odpowiedź od mpreston58

more options

I would like to insert my own image where the Firefox brand log appears on the about:home page. I am already using a custom CSS and cannot override the content of "brandLogo" element. Any experience out there?

I would like to insert my own image where the Firefox brand log appears on the about:home page. I am already using a custom CSS and cannot override the content of "brandLogo" element. Any experience out there?

Wybrane rozwiązanie

#brandLogo {
  width: 0px !important;
  padding-left: 154px !important;
  background: url("file:///C:/Path%20to%20image/customlogo.png") !important;
}
  • The padding value must be equal to the width of the new image.
  • If using the Stylish extension, you can embed the image into the style by clicking the Insert button, then choosing Data URI.
Przeczytaj tę odpowiedź w całym kontekście 👍 1

Wszystkie odpowiedzi (2)

more options

Wybrane rozwiązanie

#brandLogo {
  width: 0px !important;
  padding-left: 154px !important;
  background: url("file:///C:/Path%20to%20image/customlogo.png") !important;
}
  • The padding value must be equal to the width of the new image.
  • If using the Stylish extension, you can embed the image into the style by clicking the Insert button, then choosing Data URI.
more options

Thanks much...got some results and will need to tinker, but I'm on my way!