Page 1 of 1

How to select context menu items with CSS?

Posted: 2020-10-07, 11:40
by letmeindude
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)?