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

搜尋 Mozilla 技術支援網站

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

了解更多

change color of firefox button menu background

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  :/