6

In the last couple of days, FireFox's bookmark menus have become double-spaced. I believe the double-spacing also applies to the context menus.

screenshot

This was posted in the now-closed question on StackOverflow. Here is the Mozilla forum question on the topic.

I have tried the suggestions posted there without success.

2
  • 3
    Thanks for asking the question. This is a horrible design change, we now have less data and more fluff on the screen. BTW the browser.proton.contextmenus.enabled fix worked for me
    – Jan Doggen
    Jun 6, 2021 at 17:43
  • After another try, the browser.proton.contextmenus.enabled = false fix worked. Jun 7, 2021 at 17:15

6 Answers 6

4

For me what worked was the CSS from https://www.userchrome.org/firefox-89-styling-proton-ui.html:

  • Go to or create Userchrome.css (as per previous answer need to go to "C:\Users\(my_name)\AppData\Roaming\Mozilla\Firefox\Profiles". Look for the newest folder, go into it and find the folder called 'chrome'. If the 'chrome' folder doesn't exist, create it.
  • Open userChrome.css in Notepad. (you may need to create this as well)
  • Enter the following
menupopup > menuitem, menupopup > menu {
  padding-block: 4px !important;
}
:root {
  --arrowpanel-menuitem-padding: 4px 8px !important;
}
  • Restart firefox

If this does not work then:

  • Go to about:config in a browser tab and accept the warning
  • Search for toolkit.legacyUserProfileCustomizations.stylesheets and set it to true
  • Restart firefox
5
  • Just did it again! August 2021. Your second alternative of setting toolkit.legacyUserProfileCustomizations.stylesheets to True worked. Thank you. Aug 11, 2021 at 22:26
  • This is unnecessary, just set browser.proton.contextmenus.enabled to false in about:config and you're done. Aug 12, 2021 at 8:08
  • @pigeonburger See my answer below. But that does not work in the latest update. Aug 18, 2021 at 12:28
  • 1
    I've added my current solution to this issue, see my new answer. Aug 18, 2021 at 22:31
  • They did it again! Currently about space-and-a-half instead of double space! Is this a monthly thing? Sep 24, 2021 at 1:34
2

For me the browser.proton.contextmenus.enabled = false fix worked

  1. In the browser address bar, type about:config.
  2. Search for "browser.proton" to get a list.
  3. Disable Browser.Proton.Contextmenus.enabled

screenshot

Here is a screenshot of the same menus after this was done:

screenshot of fixed menus

2
  • This worked in older versions, but seems to not work anymore - tested on FF 91.0.1
    – frank koch
    Aug 18, 2021 at 9:51
  • 1
    See my note to Lesma's answer. Second suggestion made worked for me this time. I sure wish the developers would stop doing this! Aug 18, 2021 at 12:24
1

I had previously fixed this problem back in June, 2021. I followed the instructions found at https://www.ghacks.net/2021/05/09/how-to-fix-the-firefox-89-user-interface/ to download the 2 .css files stored on their website. Today, Jan 25,2022, I found that my FF browser (96.0.2 version) had reverted back to double spacing (as well as the File, Edit, View etc. pull downs). I tried all of the above methods and nothing worked for me. I went back to the "ghacks" web page noted above and saw that their 2 .css files had been recently updated. I downloaded their latest files, replaced my old userChrome.css and userContent.css files and restarted FF. Success!

1
  • Thank you. I tried this method and did not get any improvement. It is still better than the default settings, but is at an intermediate level. Jan 25, 2022 at 20:43
0

The same thing happened to me. This worked (from https://support.mozilla.org/en-US/questions/1186601):

  • Find the latest profile that FF just created. Mine was in "C:\Users\(my_name)\AppData\Roaming\Mozilla\Firefox\Profiles". Look for the newest folder, go into it and find the folder called 'chrome'. If the 'chrome' folder doesn't exist, create it.
  • Open userChrome.css in Notepad. (If you had to create the 'chrome' folder, create this file as well).
  • Paste this at the bottom of the file:
/* Bookmark menu */
#PlacesToolbarItems .bookmark-item {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

/* Right-click menu */
menupopup#contentAreaContextMenu menu,
menupopup#contentAreaContextMenu menuitem {
  padding-top:0px !important;
  padding-bottom:0px !important;
}
  • Save the file and restart FF.
1
  • 1
    Thank you. Sorry, this did not work for me. Jun 5, 2021 at 10:34
0

This solution offers the closest resemblance to the old Firefox style, and is what I use (you'll notice that the userChrome.css and userContent.css are too big to paste here so I've linked to where I found them:

  1. Go to about:config and set toolkit.legacyUserProfileCustomizations.stylesheets to false.

  2. Then go to about:support and press "Open Folder" under "Profile Folder".

  3. In the folder that opens up, create a new folder called chrome, and inside it, copy both the userChrome.css and userContent.css from here.

  4. Restart Firefox, and you'll have all the menus normally spaced, and your old style of Firefox back!

4
  • For me, this time, this took me from space-and-a-half to double-spaced! Sep 24, 2021 at 1:35
  • That's odd, because I'm using those exact same files on the latest version of Firefox as I type this, and it's normal Sep 24, 2021 at 2:27
  • Setting toolkit.legacyUserProfileCustomizations.stylesheets to false will double-space my menus. Jan 25, 2022 at 20:49
  • Again, I am still using this exact same answer to keep Firefox as it once was, and it works as intended. I even just set up a new profile from scratch and followed these instructions and it still works as intended. Try setting up a new blank Firefox profile with all the default settings. Jan 26, 2022 at 2:00
0

March 2023: This suddenly happened to me after a debian update to firefox version: 102.8.0esr

There's a "compact mode" which returns the menus to usable spacing, as well as making the bookmarks toolbar thinner.

But even the option to do so is hidden and you need to go through about:config to turn the option back on

Instructions here worked for me:

https://support.mozilla.org/en-US/kb/compact-mode-workaround-firefox

1
  • Thank you for supplying this. I will probably come back when they do it to me again. Mar 20 at 21:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .