為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

How do I customise the colors of folder contents in the Bookmarks pull down menu?

  • 3 回覆
  • 6 有這個問題
  • 15 次檢視
  • 最近回覆由 bol1

more options

I would like to customise the colors of the Bookmarks pull down menu in FF 3.6. Specifically the problem is this:

I pull down the Bookmarks menu which has a number of bookmarked pages and several folders I created. If I then open up a folder the contents of that folder will appear to the side of the Bookmarks menu. So far so good....

But in the folder menu I have some sub folders. If I then open the sub folders the contents will appear to the left of the first folder contents which is right over the original Bookmarks contents. This wouldn't be a problem except the background color of the sub folder contents is the same as the original background and it visually confusing.

The themes and background colors are set by my OS preferences, i.e. Ubuntu. But I wondering if theres a way in FF to make the subfolder contents different color from the original Bookmarks contents?

Have I explained theis clearly? Many thanks

I would like to customise the colors of the Bookmarks pull down menu in FF 3.6. Specifically the problem is this: I pull down the Bookmarks menu which has a number of bookmarked pages and several folders I created. If I then open up a folder the contents of that folder will appear to the side of the Bookmarks menu. So far so good.... But in the folder menu I have some sub folders. If I then open the sub folders the contents will appear to the left of the first folder contents which is right over the original Bookmarks contents. This wouldn't be a problem except the background color of the sub folder contents is the same as the original background and it visually confusing. The themes and background colors are set by my OS preferences, i.e. Ubuntu. But I wondering if theres a way in FF to make the subfolder contents different color from the original Bookmarks contents? Have I explained theis clearly? Many thanks

所有回覆 (3)

more options

Hello.

I should start by saying that I can't help you with this, but I must also say that I'm positive it is possible to do this. The trick is to create a CSS code (in the userChrome.css) that affects only the nth-child(3) of the Bookmarks menu, but you need to know the IDs and the classes for that. Hopefully someone will help you. I think there's an extension that will let you inspect the elements in Firefox's chrome, but you need to know the bare basics (at least) of CSS to do it yourself, I'd think.

I'm sorry I can't be of more help. All I'm saying, it's very likely something that can be done.

more options

Try something like this:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#bookmarksMenuPopup menupopup arrowscrollbox,
#personal-bookmarks  menupopup arrowscrollbox {
background-color:#ffc !important;
}
more options

@Morbus @cor-el

Thanks! I try that and let you know how I get on..