Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Learn More

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

reduce sidebar width

  • 2 відповіді
  • 1 має цю проблему
  • 130 переглядів
  • Остання відповідь від neilmccann

more options

i am on windows 7 starter (on another machine). am trying to reduce the width of sidebar. i have created a userChrome.css text file in :users/username/appdata/roaming/mozilla/firefox/profiles/ voop2qcn.default. the file contains this text:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */ #sidebar {min-width: 0px !important; max-width: none !important;}

it does not seem to work (i cannot see a chrome directory). any ideas as to what i am doing wrong? thanks

i am on windows 7 starter (on another machine). am trying to reduce the width of sidebar. i have created a userChrome.css text file in :users/username/appdata/roaming/mozilla/firefox/profiles/ voop2qcn.default. the file contains this text: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */ #sidebar {min-width: 0px !important; max-width: none !important;} it does not seem to work (i cannot see a chrome directory). any ideas as to what i am doing wrong? thanks

Змінено neilmccann

Обране рішення

You now have to create the "chrome" directory yourself as a folder within your profile, such is progress (not).

FWIW, it works fine it will not reduce smaller than the [X] close button in the upper right corner of the sidebar. But I would find it quicker to simply use "Ctrl+B", "Ctrl+H" to toggle on/off the Bookmarks/History sidebars and readjust them if necessary rather reduce for not using and enlarge for active use.

I converted all of my userChrome.css to styles which I use with the "Stylish" extension. Before such extensions as "Restartless Restart" and "Quick Restart" exiting and restarting Firefox was really a bottleneck. But by using Stylish you can test immediately and be shown where the error is. Stylish does not use userChrome.css which was a pain when you have the equivalent of 30 styles, I more than that now, and try to find an error nested in there somewhere. With Stylish I can use styles as building blocks.

So while the examples for userChrome.css and userContent.css are gone along with the "chrome" folder (but can still be created and used), there are thousands of styles to choose from which really makes things easier.


Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.

Читати цю відповідь у контексті 👍 0

Усі відповіді (2)

more options

Вибране рішення

You now have to create the "chrome" directory yourself as a folder within your profile, such is progress (not).

FWIW, it works fine it will not reduce smaller than the [X] close button in the upper right corner of the sidebar. But I would find it quicker to simply use "Ctrl+B", "Ctrl+H" to toggle on/off the Bookmarks/History sidebars and readjust them if necessary rather reduce for not using and enlarge for active use.

I converted all of my userChrome.css to styles which I use with the "Stylish" extension. Before such extensions as "Restartless Restart" and "Quick Restart" exiting and restarting Firefox was really a bottleneck. But by using Stylish you can test immediately and be shown where the error is. Stylish does not use userChrome.css which was a pain when you have the equivalent of 30 styles, I more than that now, and try to find an error nested in there somewhere. With Stylish I can use styles as building blocks.

So while the examples for userChrome.css and userContent.css are gone along with the "chrome" folder (but can still be created and used), there are thousands of styles to choose from which really makes things easier.


Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.

Змінено David McRitchie

more options

many thanks. created chrome directory and it worked.