Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

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

  • 2 trả lời
  • 1 gặp vấn đề này
  • 164 lượt xem
  • Trả lời mới nhất được viết bởi 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?

Giải pháp được chọn

#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.
Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (2)

more options

Giải pháp được chọn

#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!