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.

Mozilla 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

I upgraded to Firefox 25 today and now my Bookmarks menu seems to have additional spacing, requiring a lot more scrolling. How do I get it back to how it was?

  • 53 प्रत्युत्तर
  • 156
  • 27 views
  • के द्वारा अंतिम प्रतियुतर westcoasting

more options

Upgraded from v 24 to 25 and on program restart noticed my bookmarks menu is really long now due to extra added blank space between each bookmark. Is there any way to fix it as scrolling up and down all the time is a pain in the neck. The spacing is a waste of space now.

Upgraded from v 24 to 25 and on program restart noticed my bookmarks menu is really long now due to extra added blank space between each bookmark. Is there any way to fix it as scrolling up and down all the time is a pain in the neck. The spacing is a waste of space now.

चुने गए समाधान

Hi prostheus, try this:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
.sidebar-placesTree treechildren::-moz-tree-row {
  height: 1.3em !important;
  border-width: 1px !important;
}

I tested using the "Portable" build of Firefox 25, but the internal style rules should work the same.

For users who prefer to use the Stylish extension rather than editing userChrome.css, you can create a new blank rule and paste the above (see screen shots for results, this is on a "Basic" Windows 7 theme). Make sure to close and open the sidebar to force a redraw after using Preview or Save in Stylish.

Follow-ups:

संदर्भ में यह जवाब पढ़ें 👍 40

All Replies (20)

more options

Thanks jscher2000

Tried the Stylish Add-on and all back to normal.

Thanks again.

more options

Thanks so much jscher2000. I did what you said (via the Stylish Add-on) and now the spacing is minimised again. Hoorah!

more options

While I appreciate the fact that there's a solution to this problem, couldn't someone fix the glitch that causes it? I use several computers and having to fix all of them isn't amusing.

more options

Hi kuopiofi, this appears to have been an intentional change to make the styling more Aero-like on Windows Vista and higher. It might be tweaked in a future release, but that's probably several months away. You can use Help > Submit Feedback to give input on this change.

more options

Related to same problem: Library/Bookmarks has the same problem, how to fix it?

more options

Hi kuopiofi, try adding a second selector to the style rule:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
.sidebar-placesTree treechildren::-moz-tree-row,
.placesTree treechildren::-moz-tree-row {
  height: 1.3em !important;
  border-width: 1px !important;
}

There might also be a way to generalize it to all "tree" displays in Firefox, but this would take more research. Also, I didn't test in Firefox 25, just looked up the selector in Firefox 24.

more options

Thanks, it works just fine.

Would it be possible to create add-on with simple choose size/appearance like on options=>content=>Fonts&Colors, instead having to know how to use code?

more options

Hi kuopiofi, over the years developers have created many add-ons to restyle different parts of the UI. I'm not sure any of them dealt with the spacing of bookmark "trees" because it has been the same forever. Maybe one will acquire this feature, or may be anew one will appear in the next few weeks? (Creating your own add-on probably is more work than it's worth...)

more options

Hi kuopiofi, in case you meant literally the font and font size, there is one for that: Theme Font & Size Changer.

more options

Is there or is it possible to create add-on with similar system like Fonts&Colors in Options has: choose the place (sidebar, Library, etc), spacing and other things like that. Something like Wordpad and other text processors have.

more options

I can't figure out how to apply the fix. There is no "userchrome.css" file on my win7 machine.

more options

Hi grittree, userChrome.css is an optional file you need to create. Here's the drill.

(1) Find (or create) the chrome folder. This is a folder in your currently active Firefox settings folder, also known as your Firefox profile folder.

  • Open the your profile folder using: Help > Troubleshooting Information
    • Windows: Click the "Show Folder" button
    • Mac: Click the "Show in Finder" button
  • Check for a chrome folder.
    • If it exists: double-click it to open it.
    • If it does not exist: create a chrome folder, then double-click it to open it.

(2) Create or Edit a userChrome.css file by adding your style rule.

  • Check for a userChrome.css file in the chrome folder.
    • If it exists: open it in a text editor. Check that it has this first line:

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

      Then add the following lines and save the file:

      /* Tighten up bookmark tree in Fx25 */
      .sidebar-placesTree treechildren::-moz-tree-row,
      .placesTree treechildren::-moz-tree-row {
      height: 1.3em !important;
      border-width: 1px !important;
      }
       
    • If it does not exist: create a new text file named userChrome.css. (In Windows, right-click and choose New > Text Document and change the name to userChrome.css.) Then see the previous step for what to place in the file.

The rule change should take effect the next time you start Firefox.

Note: I find it easier to use the Stylish extension, but if you don't want yet another extension, then userChrome.css is best.

more options

Thanks a bunch for your help. Much better now.

more options

I had the same problem, but jscher2000's solution fixed it. The irritating thing is that there shouldn't have been a problem to be fixed in the first place. Programmers and engineers always seem to have an innate need to "tinker". If it ain't broke, then don't fix it!

more options

These people who are discussing the 'extra space' fields in 'bookmark' sidebar are CORRECT !!! I am running win7 pro; 64 bit; 2 days ago, I shut off machine for 'housekeeping', and Rev 25 downloaded wen I restarted. I was stupid to have NOT checked my 'auto update choice' under 'tools'->'options'->'advanced' (tab)->'update'(tab) and shud have (checked) and ALSO shud have selected 'O - check for updates, but let me choose whether to install them' radio button. Unfortunately, I had (or it was changed inadvertently) selected 'auto update' which I nearly NEVER do !!! I wud suggest for other users to just 'rollback' to previous Rev.. I can empathize w/other posters -- my bookmark file is 2.42 MB (2,545,757 bytes)  !!! If anybody has a better idea than rolling back, pls let me know. Thx!

more options

GHD1234, a solution to the issue has already been provided above in the thread you're posting. downgrading is not recommended and will leave your computer and all personal data on it vulnerable to publicly disclosed security vulnerabilities: https://www.mozilla.org/security/known-vulnerabilities/firefox.html

more options

I have an additional problem to the spacing, which I know is not extension related, since I tested on a new profile with no extensions installed.

A white line appears between my bookmarks while hovering over them and moving my mouse down. The white line will disappear when I move my mouse up over the bookmarks.

Anyone else experiencing this glitch.

I hope this gets resolved in the next update.

more options

I do not understand or know how to create 'css' file. Could you please advise how I revert to FF24 to get the spacing back the way it was.

thanks

more options

Hi colaclone

Try to disable hardware acceleration in Firefox.

  • Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"

Start Firefox in Safe Mode to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).

  • Do NOT click the Reset button on the Safe Mode start window.
more options

Thank you jscher2000, your instructions are very clear and easy to follow. great work!

  1. 1
  2. 2
  3. 3