This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Bookmarks spacing way too padded

  • 1 reply
  • 1 has this problem
  • 7 views
  • Last reply by cor-el

more options

There is FAR too much spacing between bookmarks. I hear that this will be made optional in the future. So: 1) When will this be out? 2) What other ways will work besides w a i t i n g ? 3) No CSS recommendation please...

Thanks !!!

Firefox 91.0.1 (64-bit), Ubuntu 18.04

There is FAR too much spacing between bookmarks. I hear that this will be made optional in the future. So: 1) When will this be out? 2) What other ways will work besides w a i t i n g ? 3) No CSS recommendation please... Thanks !!! Firefox 91.0.1 (64-bit), Ubuntu 18.04

All Replies (1)

more options

Since you run Firefox from the Ubuntu repositories you can contact Ubuntu support and ask them to add this feature to their special branded Firefox version as they usually make other modifications as well. Using code in userChrome.css isn't that difficult and if you have done this a few times and have some basic understanding of how CSS works then you can make Firefox appear like you want.


You can Add code to the userChrome.css file.


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

menupopup > menuitem, menupopup > menu {padding-top: 2px !important; padding-bottom: 2px !important;}
*|*:root {--arrowpanel-menuitem-padding: 2px 8px !important;}

It is not that difficult to create userChrome.css if you have never used it.

The first step is to open the "Help -> Troubleshooting Information" page and find the button to access the profile folder.

You can find the button to go to the profile folder under the "Application Basics" section as "Profile Folder -> Open Directory". If you click this button then you open the profile folder in the Windows File Explorer. You need to create a folder with the name chrome in this folder (name is all lowercase). In the chrome folder you need to create a plain text file with the name userChrome.css (name is case sensitive). In this userChrome.css text file you paste the CSS code posted.

You need to close (Quit) and restart Firefox when you create or modify the userChrome.css file.

See also:

In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.

  • toolkit.legacyUserProfileCustomizations.stylesheets = true

You can open the about:config page via the location/address bar. You can click the button to "Accept the Risk and Continue".