Toolbar customization: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(Rearranging Toolbar and Status Bar Buttons (topic added))
Line 16: Line 16:


Some Firefox [[:Category:Extensions (Firefox)|extensions]] provide extra toolbar buttons as part of their functionality. Installing an extension, however,  does not automatically put its button on the toolbar.  To add these buttons, do as described above for adding buttons to the toolbar.
Some Firefox [[:Category:Extensions (Firefox)|extensions]] provide extra toolbar buttons as part of their functionality. Installing an extension, however,  does not automatically put its button on the toolbar.  To add these buttons, do as described above for adding buttons to the toolbar.
===Rearranging Toolbar and Status Bar Buttons===
Toolbar buttons can be rearranged while in Customize.  Status Bar buttons are normally assigned to the right side of the Status Bar as extensions are installed -- to rearrange buttons on the Status Bar in Firefox you can use the "[https://addons.mozilla.org/en-US/firefox/addon/1759 Organize Status Bar]" extension.


===Adding or removing toolbars===
===Adding or removing toolbars===

Revision as of 14:52, 13 February 2010

This article was written for Firefox but it also applies, in general, to SeaMonkey 2. For Thunderbird, see Toolbar customization - Thunderbird


This article explains how to customize the Firefox toolbars. If your toolbar customizations are lost when you restart Firefox, see this article.

It is very easy to customize the layout of the toolbars in Firefox. You can add or remove buttons, and change their placement. The Firefox windows are individually customizable and have different sets of icons that you can add to or remove from each.

Customizing toolbars and buttons

To customize a toolbar in Firefox, go to the "View" menu and select "Toolbars -> Customize"; alternatively, you can context-click (right-click) on the toolbar and select "Customize". The Customize Toolbar dialog will then pop up. To remove a button or other item, simply drag it from the toolbar down into the Customize Toolbar dialog. To add a button, drag it up from the Customize Toolbar dialog and place it on the toolbar. If you want, you can even move buttons or the "Bookmarks Toolbar Items" up onto the menu toolbar. Moving the Search Bar up to the menu toolbar will provide more room both for searching and for Location Bar usages.

Warning: Do not remove "Bookmarks Toolbar Items" from the toolbars. Just hide the Bookmarks Toolbar if you don't need it.

Adding buttons provided by extensions

Some Firefox extensions provide extra toolbar buttons as part of their functionality. Installing an extension, however, does not automatically put its button on the toolbar. To add these buttons, do as described above for adding buttons to the toolbar.

Rearranging Toolbar and Status Bar Buttons

Toolbar buttons can be rearranged while in Customize. Status Bar buttons are normally assigned to the right side of the Status Bar as extensions are installed -- to rearrange buttons on the Status Bar in Firefox you can use the "Organize Status Bar" extension.

Adding or removing toolbars

To show or hide the "Navigation toolbar" or "Bookmarks Toolbar" included with Firefox (both are shown by default) or to show or hide other toolbars added to Firefox, go to the "View" menu, select "Toolbars" and click on a listed toolbar to select or deselect the toolbar. If you want to uninstall a toolbar added to Firefox by an extension or other application, see Uninstalling toolbars.

To add your own toolbar, use the "Add Toolbar" button on the "Customize Toolbar" dialog, then move buttons to it. The toolbar will be saved upon exit from customize as long as it has content. To remove your own added toolbar, simply remove the buttons from it and the toolbar will be gone upon exit from customize.

Reducing the padding around the toolbars - Advanced

To make the toolbars use less space you can reduce the padding around the buttons. Add the following code to your userChrome.css file (but note that this may also affect toolbars supplied by extensions).

   /* Remove extra padding from the Navigation Bar and other toolbars*/
   .toolbarbutton-1, .toolbarbutton-menubutton-button {
      padding: 2px 3px !important;
   }
   .toolbarbutton-1[checked="true"], .toolbarbutton-1[open="true"],
   .toolbarbutton-menubutton-button[checked="true"],
   .toolbarbutton-menubutton-button[open="true"] {
      padding: 4px 1px 1px 4px !important;
   }
   /* Remove extra padding from the Status Bar,
      introduced by the Toolbar enhancements extension */
   #tbx-bottom-toolbox {
      border-top-width: 0 !important;
   }


External links

  • Customizing Firefox (Firefox Support)
  • Extensions for customizing toolbars: Firefox extensions can provide additional toolbar customizations such as adding more buttons for standard Firefox features or adding multiple Search or Bookmark toolbars: