How to select context menu items with CSS?

Anything about browser themes, both Full Themes and Lightweight Themes (personas) should go here.

Moderators: FranklinDM, Lootyhoof

Post Reply
User avatar
letmeindude
Banned user
Banned user
Posts: 150
Joined: 2018-10-09, 08:56

How to select context menu items with CSS?

Post by letmeindude » 2020-10-07, 11:40

To select context menu items in a submenu is easy, for example:

Code: Select all

menupopup#test_popup .scrollbox-innerbox {
  width: 200px !important;
  display: table !important;
}
As you can see I want to put all these items in a single row, only icons-no labels. And it works if they are in a submenu, but I don't know how to do it if they are in the main context menu.
I can't use menupopup#contentAreaContextMenu .scrollbox-innerbox, because that will apply to the whole context menu.

Is there a way to select and style these items, they have the same class (.blablabla)?

Post Reply