为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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..