Firefox ignores css style for all menu backgrounds after upgrade to v152
I have been using my userchrome.css for many years.
However, now Firefox ignores css style for all menu backgrounds after upgrading to v152.
Here is my current userchrome.css text:
/*tighten drop down menus*/ menupopup > menuitem, menupopup > menu {
padding-block: 1px !important;
}
root {
--arrowpanel-menuitem-padding: 1px 1px !important;
}
/* changed this block ----------------------------------------------------*/ /* #bookmarksMenuPopup hbox {background:#CD5C5C !important;} */ /* /Change highlighted menu text to any color:/ */ /* menupopup > menu[_moz-menuactive="true"], */ /* menupopup > menuitem[_moz-menuactive="true"], */ /* popup > menu[_moz-menuactive="true"], */ /* browsermessage,notification .notification-inner{ border-color: red !important;} */ /* browsermessage, notification{ background-color: red !important;} */ /* menupopup { */ /* -moz-appearance: none !important; */ /* background-color: #CD5C5C !important } */
/* other bookmarks */
/* hide Bookmarks Toolbar Folder */
menupopup > :is(menuitem, menu):hover {
background-color: lightskyblue !important;
} ((
menupopup:not(.in-menulist) > menuitem, menupopup:not(.in-menulist) > menu {
color: white !important;
}
/* Global UI font */
However, now all my menu backgrounds are black with a see through background.
I would like to return to my original menu settings backgrounds. Any idea how do I do it please?
Thanks in advance.
I have been using my userchrome.css for many years.
However, now Firefox ignores css style for all menu backgrounds after upgrading to v152.
Here is my current userchrome.css text:
/*tighten drop down menus*/ menupopup > menuitem, menupopup > menu {
padding-block: 1px !important;
}
root {
--arrowpanel-menuitem-padding: 1px 1px !important;
}
/* changed this block ----------------------------------------------------*/ /* #bookmarksMenuPopup hbox {background:#CD5C5C !important;} */ /* /Change highlighted menu text to any color:/ */ /* menupopup > menu[_moz-menuactive="true"], */ /* menupopup > menuitem[_moz-menuactive="true"], */ /* popup > menu[_moz-menuactive="true"], */ /* browsermessage,notification .notification-inner{ border-color: red !important;} */ /* browsermessage, notification{ background-color: red !important;} */ /* menupopup { */ /* -moz-appearance: none !important; */ /* background-color: #CD5C5C !important } */
- bookmarksMenuPopup { --panel-background: #CD5C5C !important;}
/* other bookmarks */
- menu_unsortedBookmarks,
- menu_mobileBookmarks,
- bookmarksMenuItemsSeparator{
/* hide Bookmarks Toolbar Folder */
- bookmarksToolbarFolderMenu, #bookmarksToolbarFolderMenu+menuseparator {display: none !important;}
menupopup > :is(menuitem, menu):hover {
background-color: lightskyblue !important;
} ((
menupopup:not(.in-menulist) > menuitem, menupopup:not(.in-menulist) > menu {
color: white !important;
}
/* Global UI font */
- {font-size: 14pt !important;
However, now all my menu backgrounds are black with a see through background.
I would like to return to my original menu settings backgrounds. Any idea how do I do it please?
Thanks in advance.
- Windows Build/Version
- Windows 11 Pro 25H2
My Computer
At a glance
Windows 11 25H2AMD Ryzen 5 1600 - 6 Core32GBNvidia 1030GT
- OS
- Windows 11 25H2
- Computer type
- PC/Desktop
- Manufacturer/Model
- Custom Build
- CPU
- AMD Ryzen 5 1600 - 6 Core
- Motherboard
- Asus
- Memory
- 32GB
- Graphics Card(s)
- Nvidia 1030GT
- Monitor(s) Displays
- Iiyama24




