Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Fungování této stránky je z důvodu údržby dočasně omezeno. Pokud žádný článek nápovědy nevyřeší váš problém a potřebujete se zeptat na další řešení, napište nám na Twitter @FirefoxSupport nebo Reddit /r/firefox.

Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

How do I change my Bookmark Folder icons? I'm on Windows 7 Home Basic 64-bit.

  • 3 odpovědi
  • 1 má tento problém
  • 1 zobrazení
  • Poslední odpověď od cor-el

more options

I tried making a "userChrome.css" file and placing it on the default folder with this code inside:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

.bookmark-item[container="true"][label="Santoni's Place"] {
list-style-image: url('file:///C:\Users\Sher\AppData\Local\Mozilla\Firefox\Profiles\nvj9dku5.default/santoni's place.ico') !important;
-moz-image-region: rect(0px 32px 32px 0px) !important;
}

But it doesn't seem to work. Is it because of my OS? How do I do it if so?

Source: http://www.youtube.com/watch?v=wLFAm9CdFHg and a bunch of other forums.

I tried making a "userChrome.css" file and placing it on the default folder with this code inside: <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); .bookmark-item[container="true"][label="Santoni's Place"] { list-style-image: url('file:///C:\Users\Sher\AppData\Local\Mozilla\Firefox\Profiles\nvj9dku5.default/santoni's place.ico') !important; -moz-image-region: rect(0px 32px 32px 0px) !important; }</nowiki></pre> But it doesn't seem to work. Is it because of my OS? How do I do it if so? Source: http://www.youtube.com/watch?v=wLFAm9CdFHg and a bunch of other forums.

Upravil uživatel cor-el dne

Všechny odpovědi (3)

more options

That is an invalid URL, try:

file:///C:/Users/Sher/AppData/Local/Mozilla/Firefox/Profiles/nvj9dku5.default/santoni%27s%20place.ico

Upravil uživatel Diego Casorran dne

more options

Try using a jpg or png image rather than the ico image.

Also, get rid of the spaces in the image name (mentioned by diegocr). You are better off with a name like santoni-s_place.jpg than using %-number code for spaces and punctuation marks. Using those in cross OS applications is asking for problems.

more options

Note that %AppData%\Local is the location of the cache folder and not the main Firefox Profile Folder (%AppData%\Roaming).

If you place the image(s) in the chrome folder in the current Firefox Profile Folder then you can leave out the rest of the file path and only use the image file name.
It is best to use a simple image name and not one with quotes and spaces (use an "_" instead of a space).
You can't use the same quotes in the name ('xxxx'x.xxx') unless you escape them or better use a double quote and or a simple name without quotes ('xxxx\'x.xxx' or "xxxx_x.xxx").

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

.bookmark-item[container="true"][label="Santoni's Place"] {
list-style-image: url("santoni_s_place.ico") !important;
-moz-image-region: rect(0px 32px 32px 0px) !important;
}