X
Tocca qui per la versione per piattaforma mobile del sito.

Forum di supporto

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

How to remove Customize option in the toolbar with userChrome.css?

Inserita

I'm trying to remove "Customize…" option from the View menu and from toolbar. I use following code in userChrome.css: #viewToolbarsMenu menuitem[label="Customize..."], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Customize..."], #toolbar-context-menu menuseparator{ display: none !important; }.... I tied many other different things but it doesn't work.

I'm trying to remove "Customize…" option from the View menu and from toolbar. I use following code in userChrome.css: #viewToolbarsMenu menuitem[label="Customize..."], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Customize..."], #toolbar-context-menu menuseparator{ display: none !important; }.... I tied many other different things but it doesn't work.

Dettagli aggiuntivi sul sistema

Plugin installati

None

Applicazione

  • User Agent:

Ulteriori informazioni

cor-el
  • Top 10 Contributor
  • Moderator
17534 soluzioni 158559 risposte

Be aware the '...' are not three dots but that it is an ellipsis (…)

Try:

#viewToolbarsMenu menuseparator , #menu_customizeToolbars {display:none!important;}
Be aware the '...' are not three dots but that it is an ellipsis (&hellip;) Try: <pre><code>#viewToolbarsMenu menuseparator , #menu_customizeToolbars {display:none!important;}</code></pre>

Utente che ha posto la domanda

Yes I didn't use dots... still didn't work :-( and I tried your example and it didn't work either :-(... did it work for you?

Yes I didn't use dots... still didn't work :-( and I tried your example and it didn't work either :-(... did it work for you?

Modificato da pisces il