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!

Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

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

Vald lösning

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

#appmenuPrimaryPane
#appmenuSecondaryPane
Läs svaret i sitt sammanhang 👍 1

Alla svar (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

Vald lösning

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