X
Tap here to go to the mobile version of the site.

Support Forum

How to decrease the width of bookmarks sidebar?

Posted

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

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.9 r900
  • Google Update
  • Next Generation Java Plug-in 10.45.2 for Mozilla browsers
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • VLC media player Web Plugin 2.1.0
  • GEPlugin
  • Adobe PDF Plug-In For Firefox and Netscape "9.5.5"
  • Adobe Shockwave for Director Netscape plug-in, version 11.5
  • NPWLPG
  • The Hulu Desktop Plugin allows Hulu.com to integrate with the Hulu Desktop application.
  • 4.0.50401.0

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0

More Information

the-edmeister
  • Top 10 Contributor
  • Moderator
4021 solutions 30307 answers

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.

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.
cor-el
  • Top 10 Contributor
  • Moderator
12729 solutions 117014 answers

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; }
See also: *http://kb.mozillazine.org/Editing_configuration/Troubleshooting A common mistake on Windows is to create a text file and not a CSS file.<br /> A text file makes Windows add a hidden .txt file extension that may be hard to remove.<br /> So make sure to select all files and not text files when saving a new file. <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ #sidebar { min-width:0px !important; max-width:none !important; } </nowiki></pre>

Question owner

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.

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.