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!

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

搜索 | 用户支持

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

详细了解

change color of firefox button menu background

  • 7 个回答
  • 3 人有此问题
  • 2 次查看
  • 最后回复者为 bluedragon14

more options

I changed the font color of all menus in firefox to white (using userChrome.css) because I am using a custom dark windows 7 theme, where all context menus are dark. The problem is that the Firefox button menu (the menu that appears when you click on the orange firefox button) remains a bright white and blue, making it near impossible to read the white text. Is there anyway to change the two backgrounds of the firefox button menu, or perhaps change it so it appears just like my context menus? (via add-on or by adding to userChrome.css) thanks

I changed the font color of all menus in firefox to white (using userChrome.css) because I am using a custom dark windows 7 theme, where all context menus are dark. The problem is that the Firefox button menu (the menu that appears when you click on the orange firefox button) remains a bright white and blue, making it near impossible to read the white text. Is there anyway to change the two backgrounds of the firefox button menu, or perhaps change it so it appears just like my context menus? (via add-on or by adding to userChrome.css) thanks

被采纳的解决方案

You can use these two as selectors of both panes in the Firefox menu button drop-down list.

#appmenuPrimaryPane
#appmenuSecondaryPane
定位到答案原位置 👍 1

所有回复 (7)

more options
more options

I need to change the menu that appears when you click on the button, not the button itself

more options

选择的解决方案

You can use these two as selectors of both panes in the Firefox menu button drop-down list.

#appmenuPrimaryPane
#appmenuSecondaryPane
more options

thank you very much, cor-el!

more options

sorry, but I have one more question. What do I add to userChrome.css to change a submenu within the firefox button menu? (see picture)

more options

This should catch them all:

#appmenu-button menupopup {
 background-color: #xxxxxx !important;
 color: white !important;
 -moz-appearance: none !important; /* you may need this rule */
}
more options

that didn't work, even with the -moz-appearance: none rule  :/