Make bookmark menus more wide?

User Help for Mozilla Firefox
morat
Posts: 6437
Joined: February 3rd, 2009, 6:29 pm

Re: Make bookmark menus more wide?

Post by morat »

The entry was written as intended, but I didn't test it well with a really wide value like 900px.

There are multiple max-width restrictions in the css.

Try this:

Code: Select all

/* Firefox userChrome.css */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

menupopup > menu,
menupopup > menuitem {
  max-width: none !important;
}
menu.bookmark-item,
menuitem.bookmark-item {
  max-width: none !important;
}
menu.bookmark-item label.menu-iconic-text {
  color: orange !important; /* test */
  width: 900px !important;
}
If it fails, then try this:

* rename userChrome.css file to userChrome.txt
* create userChrome.css file with above code snippet
* restart
* test

How do we get DOM info for userChrome in 57+
http://forums.mozillazine.org/viewtopic ... &t=3034448
thoste
Posts: 320
Joined: June 7th, 2003, 12:45 am

Re: Make bookmark menus more wide?

Post by thoste »

@morat:

The code in your last post seems to work.
Thank you.

One more related question:
How can I change (in userChrome.css) the font-size, line-height, font-weight and font-family of (only) the (sub)menu entries ?
Post Reply