Auto-Hide Your Firefox Bookmarks Toolbar
Posted by Gina Trapani at 8:00 PM on October 30, 2007

Firefox only: Love the bookmarks toolbar but only want it there when you need it? Reader Andy writes in with a tweak that makes the toolbar hide automatically, unless you mouse over it (like auto-hiding your Windows taskbar or Mac Dock.) To turn on auto-hiding you have to edit your Firefox profile's copy of userChrome.css Here's the code you need:
/* Pop-up bookmarks toolbar */ #PersonalToolbar {display: none;} #navigator-toolbox:hover > #PersonalToolbar {display: -moz-box;}If you haven't edited
userChrome.css before, here's a primer on doing so. The ChromEdit Plus extension makes user-specific tweaks easier.
A few other bookmark toolbar tweaks:
- Disable the scrollbar by setting browser.tabs.tabsMinWidth to 0 in
about:config. (See more about this in our top Firefox 2 tweaks.) - Use the Smart Bookmarks extension to use only icons and save space
- Organise your bookmarks into folders
Tags: bookmarks | firefox | firefox tips | toolbar | top | user styles | userchrome.css

Comments (AU Comments · US Comments)
yba
Posted November 1, 2007 2:08 PM
I use the del.icio.us bookmark addon for firefox, is any anyway I could auto hide the del.icio.us bookmarks toolbar?
Torley
Posted 7:36 AM 30/10/07
Neat, Firefox is my primary browser of choice - I learn something new here every day!
BTW, the animated GIF used to illustrate this tip appears fine at full size, but the scaled-down thumbnail version on the main Lifehacker page looks artifacted.
Torley
5cents
Posted 7:25 AM 30/10/07
Hoh, tell me this works for Camino??
5cents
benjpw
Posted 6:16 AM 30/10/07
Does this make FF use more resources? (Proc or RAM)?
benjpw
Rob P.
Posted 8:41 AM 30/10/07
@5cents: Probably not ... Camino doesn't use the same XUL interface like FF does it?
Rob P.
Nightwalker
Posted 8:22 AM 30/10/07
great tip! I'm going to this for sure. My FF browser has like truck load of widgets, toolbars and stuff that make my life easy, what's another one installed? :)
Nightwalker
Garfey
Posted 8:16 AM 30/10/07
Or if you use the Smart Bookmarks extension there is an option for it to Auto-hide your bookmarks toolbar, as I just discovered :)
Garfey
Gonzie
Posted 10:08 AM 30/10/07
nevermind i've found the problem, that'll teach me not to look what i'm doing lol
Gonzie
Gonzie
Posted 10:05 AM 30/10/07
this doesn't appear to be working for me
i've done a copy pasta but no joy :( can someone do an image of their chrome file please?
Gonzie
Adam Chernow
Posted 10:01 AM 30/10/07
Gina... This rocks! Thank you.
-Adam
Adam Chernow
sumocat
Posted 9:20 AM 30/10/07
Cool, but I dragged by bookmarks toolbar up to my menu bar. Saves space and it jives with my right-handed layout.
sumocat
getjustin
Posted 11:19 AM 30/10/07
A picture for clarity.
[img.photobucket.com]
getjustin
bswilson
Posted 11:12 AM 30/10/07
Gina, thanks so much for sharing this tip! I have been needing this functionality for about 1.5 years. I've just been lamenting the fact that there was not a way to do this; I've been waffling back and forth between hiding and showing the Bookmarks toolbar. Now I don't have to! Thanks again...
bswilson
getjustin
Posted 11:11 AM 30/10/07
Even better, use small icons for both nav and bookmarks and put them on the same row. The above that address bar and menus. Two rows, nice and clean.
getjustin
TechTalk WRLR 98.3FM
Posted 11:30 AM 30/10/07
have to say i tried this for about 10 minutes and then knocked it back to just showing me bookmarks all the time. i never realized how often i flew the mouse past that area of the browser, or how irritating having it pop in and out over and over again would be!
Good tip, just not for me I guess!
TechTalk WRLR 98.3FM
gsarig
Posted 10:56 AM 30/10/07
Is there a way of delaying the hiding of the toolbar for some seconds, after I move the cursor away?
Also, is there any similar trick with which I could place the bookmarks toolbar at the bottom of the browser?
gsarig
BillyGnSC
Posted 9:37 AM 30/10/07
I've been dragging my bookmarks up to the menu bar since '05. I've never understood why people want to take space away with a bunch of toolbars either. I'm used to giving myself more space, and with TinyMenu, I only see what I choose (3 in my case).
BillyGnSC
georgedonnelly
Posted 8:39 AM 30/10/07
You just dump this into a blank stylish style, if you already use that.
georgedonnelly
gsarig
Posted 7:38 AM 30/10/07
Nice! I wanted this feature and didn't expect that it would be so easy...
But, how can I set a delay of e.g 2 seconds after I move away my cursor? I think that it would be more convenient for me if the toolbar wasn't dissapear immediately, right after I move the cursor away...
gsarig
Bez
Posted 12:42 PM 30/10/07
Cool tip. does anyone know how i can get the bookmarks toolbar to display vertically on the left side of the screen. I'm using Smart Bookmarks by the way
Bez
FLEB
Posted 2:23 PM 30/10/07
@benjpw: Does this make FF use more resources? (Proc or RAM)?
Not much more than just storing that line you typed in. It's pretty much the same method that gives you things like links that change color when the mouse rolls over them. It just tells Firefox to only visually display the bookmark bar when the mouse is hovered. It's nothing more than a visibility toggle.
FLEB
Sutrannu
Posted 2:16 PM 30/10/07
Works well on Windows, but does not work in Gutsy (FF2.0.0.8). Clicking a folder on the bar creates a drop-down menu which immediately hides the bar again. Obviously, :hover for the drop-down returns the display to none. Anyone know the css id for this drop-down?
Sutrannu
LessIsMore
Posted 6:39 PM 30/10/07
I still think the best way is just to put the bookmarks toolbar in the same row as the address bar. I have my bookmarks in between the address and google search bars, with the navigation buttons (stop/refresh combined, only shows functional back/fwd) to the left of the address bar, with compact menu for the file/edit etc. and all in one sidebar on left.
LessIsMore
Jordan117
Posted 5:23 PM 30/10/07
You can also autohide the sidebar (I use it for bookmarks) with the Optimoz Tweaks extension. It's one of the most convenient add-ons I've got installed.
Jordan117
Woodwater
Posted 7:31 PM 30/10/07
Awesome trick. Ninja style. Love it.
Thanks.
Woodwater
slink
Posted 7:15 PM 30/10/07
for those that do the bookmarks on menu bar to save space (as i do), you can use the autohide extension to achieve this same functionality and have the menu bar appear on mouseover too (in fact, any toolbar).
I've now got Firefox down to a single toolbar, the address bar, which is yubnub enabled so no need for search boxes either, maximum screen estate and minimal clutter!
[www.krickelkrackel.de]
Also, try the menu editor extension to clear up your right-click and menu bar menus. I've got mine down to just having Tools, everything else is accessible elsewhere.
[addons.mozilla.org]
slink
MathIsWrong
Posted 11:11 PM 30/10/07
Does anyone know how to extend the bookmarks toolbar to be multiline -- like Camino?
MathIsWrong
TheFionut
Posted 2:29 AM 31/10/07
I have mine up in the menu bar, and just use the favicons, no words. Makes a lot more space.
TheFionut
vivek_malewar
Posted 7:03 AM 31/10/07
Exactly, put it besides the Menu Bar (The bookmarks will be on the right side of "Help" menu)
Look at this : [img232.imageshack.us]
vivek_malewar
Tony of TonyandJuan.com
Posted 9:39 AM 31/10/07
@georgedonnelly: You sir, have just earned yourself a fan.
Tony of TonyandJuan.com
LouCypher
Posted 9:15 AM 31/10/07
It's originally from [userstyles.org]
Yeah, I wrote that.
LouCypher
pinkfu
Posted 3:07 PM 31/10/07
This moved my tabs to the left side (like a sidebar) and didn't go back to normal after removing it. Great.
pinkfu
pinkfu
Posted 3:31 PM 31/10/07
Now that it works for me... how do I move the bookmark bar above the menu bar? ;)
pinkfu
TehSoM
Posted 8:53 PM 31/10/07
This is quite the nice change! Awesome work on finding it.
I have a question though: is there a way to make your TAB MENU auto-hide? I use my tabs as a sort of temporary bookmark storage, so that I remember to go back and look at them, since if I bookmark something, theres a 90 percent chance I won't ever see it again (I'm a bit crazy with the saving things). Therefore, I usually have a lot of real estate taken up by tabs (at this moment, 80 tabs, but I've done a lot of tweaking to maximize space on the bar, and minimize actual tab space).
Tab Bar auto-hiding, along with my new Bookmark Bar auto-hiding, would be godsend.
TehSoM
infotech
Posted 10:29 AM 1/11/07
This would be a great tweak if I could move the bookmark toolbar above all other toolbars. It gets annoying real quickly when you move your mouse to the address bar and the bookmark toolbar pops up. It seems to pop up all the time and is very distracting. If I could make it be the top toolbar then I think it would work.
For those of you that made a change that doesn't revert back when you remove it go to your Chrome directory, rename the userChrome.css to .old and then rename one of the example files to userChrome.css. It'll put Firefox back into its default state.
infotech
mbierman
Posted 2:20 PM 1/11/07
Great tip!
Del.icio.us users can also customize their tool bar with the following:
/* Pop-up bookmarks toolbar */
#PersonalToolbar {display: none;}
#ybToolbar {display: none;}
#navigator-toolbox:hover > #PersonalToolbar {display: -moz-box;}
#navigator-toolbox:hover > #ybToolbar {display: -moz-box;}
mbierman
mbierman
Posted 2:14 PM 1/11/07
Del.ico.us users--Want to hack your delicious toolbar too? here's the trick:
/* Pop-up bookmarks toolbar */
#PersonalToolbar {display: none;}
#ybToolbar {display: none;}
#navigator-toolbox:hover > #PersonalToolbar {display: -moz-box;}
#navigator-toolbox:hover > #ybToolbar {display: -moz-box;}
mbierman
Gonzie
Posted 3:51 PM 2/11/07
i wish this tip wouldn't push the webpage down, if only it could overlap it cos it messes with my eyes something cronic
i also wish i could have the controls and nav bar below the bookmark bar and still have it auto hide but it won't have it (Mac here :-/ )
Gonzie
kerbot2000
Posted 8:07 PM 2/11/07
Now if only there was a way to do this with the Google toolbar....
kerbot2000