搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Can icons be added to bookmark folders you make

  • 2 回覆
  • 5 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

when i make a bookmark folder is there a way to add a icon to the folder to make it stand out from all the other plain bookmark folders i make.

when i make a bookmark folder is there a way to add a icon to the folder to make it stand out from all the other plain bookmark folders i make.

所有回覆 (2)

more options

Yes, but it is complicated. Familiarity with CSS and userChrome.css code is needed and you would need a custom image to apply with the CSS style code; one for each unique folder icon you wanted.

more options

You will have to use code like this in the file userChrome.css below the @namespace line.
The "Folder_Name" needs to be an exact match (case sensitive)

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
#personal-bookmarks .bookmark-item[container][label="Folder_Name"] {
 list-style-image:url('folder-icon.png')!important;-moz-image-region:auto!important;
}


See also: