לאתר זה תהיה פונקציונליות מוגבלת בזמן שאנו מתחזקים אותו לשיפור החוויה שלך. אם מאמר מסויים לא פותר את הבעיה שלך וברצונך לשאול שאלה, קהילת התמיכה שלנו מחכה לעזור לך ב־Twitter תחת ‎@FirefoxSupport וב־Reddit תחת ‎/r/firefox.

חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות באפשרות ״דיווח על שימוש לרעה״.

מידע נוסף

How to change the about:home Brand Logo in Firefox portable using CSS

  • 1 תגובה
  • 1 has this problem
  • 1 view
  • תגובה אחרונה מאת Gingerbread Man

more options

I searched Mozilla Support and I found this archived topic: https://support.mozilla.org/en-US/questions/944199

However the CSS provided in that answer does not work in current versions of Firefox.

1. What CSS should be used to replace the about:home brand logo in Firefox Portable v29 (Australis).

2. If I wish to store my replacement image somewhere inside the Firefox Portable folder, how do I specify a relative path (instead of an absolute one) so that the replacement image can always be found, regardless of where Firefox portable folder is located.

I searched Mozilla Support and I found this archived topic: https://support.mozilla.org/en-US/questions/944199 However the CSS provided in that answer does not work in current versions of Firefox. 1. What CSS should be used to replace the about:home brand logo in Firefox Portable v29 (Australis). 2. If I wish to store my replacement image somewhere inside the Firefox Portable folder, how do I specify a relative path (instead of an absolute one) so that the replacement image can always be found, regardless of where Firefox portable folder is located.

כל התגובות (1)

more options

Put the following in the userContent.css file.


@-moz-document url("about:home") {
#brandLogo { background-image: url("brandlogo.png") !important; }
}

  • Your image should be 192×192.
  • Your image should be placed in the chrome folder, next to userContent.css.
  • Otherwise, you can use relative paths as usual, ../ meaning up one folder and so on. See Absolute and Relative Paths | About.com for details.
  • If you're using Stylish instead, then you have a choice of either embedding the image using the Insert button, or specifying an absolute path. Firefox presumably tries to fetch the image from chrome://… so specifying a relative path isn't possible.

השתנתה ב־ על־ידי Gingerbread Man