How style menus Firefox 102.3esr

User Help for Mozilla Firefox
Post Reply
Beach71
Posts: 40
Joined: September 24th, 2021, 5:34 pm

How style menus Firefox 102.3esr

Post by Beach71 »

Firefox 102.3esr
Is there a way to style bookmark menus so that the hover/select menu item changes the menu item color and the back ground color.
Is there a way to use an image/graphic as a bookmark menu item background?

Thanks
User avatar
jscher2000
Posts: 11762
Joined: December 19th, 2004, 12:26 am
Location: Silicon Valley, CA USA
Contact:

Re: How style menus Firefox 102.3esr

Post by jscher2000 »

Using rules in a userChrome.css file? I'm sure those are possible.

There could be some bleed over to other popup menus; it's not always possible to limit the effect to only one of the menus.
Beach71
Posts: 40
Joined: September 24th, 2021, 5:34 pm

Re: How style menus Firefox 102.3esr

Post by Beach71 »

I had assumed/hoped CSS would do it, but I need help with code examples.
Thanks. :-)
User avatar
xanthon
Posts: 410
Joined: December 17th, 2005, 11:55 pm

Re: How style menus Firefox 102.3esr

Post by xanthon »

This worked for me to get a hover highlight after many other attempts failed. I could find a Reddit thread if you want it. You could try adding color.

Code: Select all

#PlacesToolbar menuitem:not([disabled],:active)[_moz-menuactive],
#PlacesToolbar menu:not([disabled],:active)[_moz-menuactive] {
  background-color: #6699ff !important;
}
Post Reply