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

How to decrease the width of bookmarks sidebar?

  • 3 replies
  • 4 have this problem
  • 61 views
  • Last reply by tutoka

more options

I would like bookmarks sidebar to be narrower than allowed by default range for width.

I tried many advices, no success. I tried to create something like userChrome.css with recommended code snippet inside but it did not work. Others were recommending Stylish add on but i do not know what to do with it. The only tool which had been working was ChromEdit Plus add on. But after I reinstalled my sWindows ystem on Sunday, this extension does not seem to be working anymore.

OS: Windows 7 64 bit Firefox version: 26

I would like bookmarks sidebar to be narrower than allowed by default range for width. I tried many advices, no success. I tried to create something like userChrome.css with recommended code snippet inside but it did not work. Others were recommending Stylish add on but i do not know what to do with it. The only tool which had been working was ChromEdit Plus add on. But after I reinstalled my sWindows ystem on Sunday, this extension does not seem to be working anymore. OS: Windows 7 64 bit Firefox version: 26

Modified by tutoka

Chosen solution

ChromEdit Plus needs the correct code to do anything, the extension alone does nothing! And that specific code is exactly the same as one would use in a manually creates userChrome.css file. The only real difference is that CEP automatically creates the userChrome.css file (and a userContent,css file), in the /chrome/ folder which doesn't exist until the user or CEP creates that folder.

That said, the width of the sidebar should be the same as the last time Firefox was closed. IOW, the user set's the size (width) of the Sidebar they prefer, they close Firefox after using it, and when they open Firefox the next time the width of the Sidebar should be the same as when they last closed Firefox. If it isn't the same, the localstore.rdf might be slightly corrupt, or "something" is messing with the localstore.rdf by changing preferences.

Read this answer in context 👍 2

All Replies (3)

more options

Chosen Solution

ChromEdit Plus needs the correct code to do anything, the extension alone does nothing! And that specific code is exactly the same as one would use in a manually creates userChrome.css file. The only real difference is that CEP automatically creates the userChrome.css file (and a userContent,css file), in the /chrome/ folder which doesn't exist until the user or CEP creates that folder.

That said, the width of the sidebar should be the same as the last time Firefox was closed. IOW, the user set's the size (width) of the Sidebar they prefer, they close Firefox after using it, and when they open Firefox the next time the width of the Sidebar should be the same as when they last closed Firefox. If it isn't the same, the localstore.rdf might be slightly corrupt, or "something" is messing with the localstore.rdf by changing preferences.

more options

See also:

A common mistake on Windows is to create a text file and not a CSS file.
A text file makes Windows add a hidden .txt file extension that may be hard to remove.
So make sure to select all files and not text files when saving a new file.

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

#sidebar { min-width:0px !important; max-width:none !important; }
more options

Thank you all for hints or suggestions. I resolved problem after I created new independent chrome folder.

The thing I was doing wrong was that I tried to insert userChrome.css as a subfolder in 2 different pre-existing chrome folders. Their location was: C:\Users\User\AppData\Roaming\Mozilla\Firefox\Profiles\0gvjm62a.default\storage\persistent\chrome and C:\Users\User\AppData\Roaming\Mozilla\Firefox\Profiles\0gvjm62a.default\extensions\{7c70a669-5a3f-4390-a507-670639880928}\chrome

Now I created chrome folder #3 (together with userChrome.css as a subfile) in this location:

C:\Users\User\AppData\Roaming\Mozilla\Firefox\Profiles\0gvjm62a.default\chrome

This finally worked.