Toolbar customization: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(Added Wintogreen's Customize Toolbar (originally for Thunderbird) to Firefox FAQ )
 
(→‎Customizing toolbars and buttons: made a list of methods for opening the Customize Toolbars dialog)
(48 intermediate revisions by 8 users not shown)
Line 1: Line 1:
It is very easy to customize the layout of the toolbars in Firefox. To add/remove buttons or to change the placement of buttons on a toolbar, right-click on the toolbar, select Customize, and then drag the buttons to where you want them to be. To remove a button, drag it down into the special pane that appears just below the toolbar. To add a button, drag it up from that same special pane and place it on the toolbar. If you want, you can even put icons up on the menu toolbar.
''This article was written for Firefox but it also applies, in general, to SeaMonkey 2. For Thunderbird, see [[Toolbar customization - Thunderbird]].''


Note: some extensions provide extra toolbar buttons as part of their functionality. Installing an extension does not automatically put its buttons on the toolbar, however. To add these buttons, you should do as described above for adding buttons to the toolbar.
<!-- A NOTE TO EDITORS: Please consider updating "Toolbar customization - Thunderbird" article unless your edits are Firefox-specific -->
 
This article explains how to customize the Firefox toolbars.  If your toolbar customizations are lost when you restart Firefox, see [[Corrupt localstore.rdf| 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==
{{right-pic|CustomizeToolbar.PNG}}
To open the Customize Toolbar dialog, use one of these methods:
* (Mac, Linux) If the [http://support.mozilla.org/kb/display-firefox-button-menu-instead-menu-toolbar Firefox button] is shown, click the "Firefox" button and select "Options -> Toolbar Layout".
* If the Firefox menu bar is shown, go to the "View" menu and select "Toolbars -> Customize" (on Windows, you can press the "Alt" key to temporarily display a hidden menu bar).
* Context-click (right-click) on a blank spot in 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: [https://bugzilla.mozilla.org/show_bug.cgi?id=246158 Do not remove] "Bookmarks Toolbar Items" from the toolbars.  Just hide the Bookmarks Toolbar if you don't need it.
 
Confusing icons:  There are three icons in Customize all shown as "Bookmarks".  The  [[image:ff_bookmarks_toolbar_items.png|bookmarks toolbar items*]] is for "Bookmarks Toolbar Items" as seen as text in the Bookmarks Toolbar during Customize.  The    [[image:ff_bookmarks_sidebar_button.png|bookmarks sidebar button]] (no drop-down) brings up the Bookmarks Sidebar ("Ctrl+B").    The    [[image:ff_bookmarks_menu_button.png|bookmarks menu button]](drop-down) brings up the Bookmarks Menu as the Menu Bar was hidden in Firefox 4.
 
===Adding buttons provided by extensions===
 
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.
 
In '''Firefox 4.0''' the '''Add-on Bar''' replaces the Status Bar, so is treated more like a normal toolbar.  Customizations to remake the new Add-on Bar more like the old Status bar by incorporating link urls (on hover) and status messages right on the Add-on Bar can be accomplished with the "[https://addons.mozilla.org/firefox/addon/status-4-evar Status-4-Evar]" extension ([http://www.mvps.org/dmcritchie/firefox/status4evar.htm pictures & customizations]).  The  Add-on bar was assigned its own [[Keyboard shortcuts | Keyboard shortcut]] ("Ctrl+/") to toggle it on/off the same as through the View menu.
 
===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]]. If you have an empty "Bookmarks Toolbar" then make sure that the "Bookmarks Toolbar items" icon is still placed on the "Bookmarks Toolbar".
 
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 all the buttons and space and separator items from it and the toolbar will be gone upon exit from customize.
 
===Restoring missing menu or other toolbars===
'''Note:'''  Starting in '''Firefox 3.6''',  on Windows,  the "View -> Toolbars" menu includes the Menu Bar, which contains the File, Edit, View, History, Bookmarks, Tools, and Help [https://support.mozilla.org/kb/Menu+Reference menu items].  If you deselect the Menu Bar, these menu items will be hidden.  '''Firefox 4.0''' hides the Menu Bar by default.  You can temporarily show a hidden Menu Bar by pressing the "Alt" key.  [https://bugzilla.mozilla.org/show_bug.cgi?id=456535]
 
To restore missing toolbars, press "Alt+V"  to get to the "View" menu, then press "T"  ("Toolbars" menu) and select your wanted toolbars. 
 
Note that the underlined letters on the menu indicate that "Alt+<letter>" is a shortcut;  once inside a menu, just the underscored letter is the shortcut.  (The underscored letters in menus are suppressed by default in '''Windows 7'''.  [http://www.mvps.org/dmcritchie/windows-7/win7.htm#steps Step 9 in this article] explains how to restore the underscored letters in Windows 7 menus.)
 
"F11" Full Screen (toggle) will get you into or out of Full Screen mode.  You can use the "Alt" key or move cursor up through the top of screen to temporarily see toolbars when in Full Screen mode. In Full Screen mode: "Ctrl+L"  for [[Location Bar]] will still work, and "Ctrl+K" for [[Search Bar]] will still work.
 
==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==
* [https://support.mozilla.org/kb/How+to+customize+the+toolbar  How to customize the toolbar] (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:
** With the [https://addons.mozilla.org/firefox/addon/3571 DragNDrop Toolbars] your toolbars become vertically Drag and Droppable.
** The [http://totaltoolbar.mozdev.org/ TotalToolbar] extension permits great flexibility in creating and positioning toolbars and toolbar items. The statusbar is now also customizable.
** The [http://www.oxymoronical.com/web/firefox/Thinger Toolbar Thinger] extension lets you add multiple bookmark toolbars and Search Bars as well as other customizations  [http://forums.mozillazine.org/viewtopic.php?t=254701]
** The [http://clav.mozdev.org/#tbx Toolbar Enhancements] extension is currently available only for Firefox 1.0.x, but a [http://www.ultra-fluide.com/ressources/extensions-firefox/en/update.htm third-party version for Firefox 1.5 and 2] is available (through a link at the bottom of that developer-oriented page).
** The [http://codefisher.org/toolbar_button/toolbar_button_maker Custom Toolbar Buttons Maker]  extension, creates a customized subset of [http://codefisher.org/toolbar_button/ Toolbar Buttons] for use with toolbars to provide an extension with button access or enable hidden functionality  from a button.
** The [https://addons.mozilla.org/firefox/addon/2108 Stylish] extension allows users to create and share their own styling changes  for [http://userstyles.org/styles/browse/all/toolbars/installs_this_week/desc/1 toolbars],  menus, and webpages.
 
[[Category:Visual customizations (Firefox)]] [[Category:SeaMonkey]]

Revision as of 16:14, 8 November 2012

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 open the Customize Toolbar dialog, use one of these methods:

  • (Mac, Linux) If the Firefox button is shown, click the "Firefox" button and select "Options -> Toolbar Layout".
  • If the Firefox menu bar is shown, go to the "View" menu and select "Toolbars -> Customize" (on Windows, you can press the "Alt" key to temporarily display a hidden menu bar).
  • Context-click (right-click) on a blank spot in 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.

Confusing icons: There are three icons in Customize all shown as "Bookmarks". The bookmarks toolbar items* is for "Bookmarks Toolbar Items" as seen as text in the Bookmarks Toolbar during Customize. The bookmarks sidebar button (no drop-down) brings up the Bookmarks Sidebar ("Ctrl+B"). The bookmarks menu button(drop-down) brings up the Bookmarks Menu as the Menu Bar was hidden in Firefox 4.

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.

In Firefox 4.0 the Add-on Bar replaces the Status Bar, so is treated more like a normal toolbar. Customizations to remake the new Add-on Bar more like the old Status bar by incorporating link urls (on hover) and status messages right on the Add-on Bar can be accomplished with the "Status-4-Evar" extension (pictures & customizations). The Add-on bar was assigned its own Keyboard shortcut ("Ctrl+/") to toggle it on/off the same as through the View menu.

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. If you have an empty "Bookmarks Toolbar" then make sure that the "Bookmarks Toolbar items" icon is still placed on the "Bookmarks Toolbar".

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 all the buttons and space and separator items from it and the toolbar will be gone upon exit from customize.

Restoring missing menu or other toolbars

Note: Starting in Firefox 3.6, on Windows, the "View -> Toolbars" menu includes the Menu Bar, which contains the File, Edit, View, History, Bookmarks, Tools, and Help menu items. If you deselect the Menu Bar, these menu items will be hidden. Firefox 4.0 hides the Menu Bar by default. You can temporarily show a hidden Menu Bar by pressing the "Alt" key. [1]

To restore missing toolbars, press "Alt+V" to get to the "View" menu, then press "T" ("Toolbars" menu) and select your wanted toolbars.

Note that the underlined letters on the menu indicate that "Alt+<letter>" is a shortcut; once inside a menu, just the underscored letter is the shortcut. (The underscored letters in menus are suppressed by default in Windows 7. Step 9 in this article explains how to restore the underscored letters in Windows 7 menus.)

"F11" Full Screen (toggle) will get you into or out of Full Screen mode. You can use the "Alt" key or move cursor up through the top of screen to temporarily see toolbars when in Full Screen mode. In Full Screen mode: "Ctrl+L" for Location Bar will still work, and "Ctrl+K" for Search Bar will still work.

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

  • How to customize the toolbar (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:
    • With the DragNDrop Toolbars your toolbars become vertically Drag and Droppable.
    • The TotalToolbar extension permits great flexibility in creating and positioning toolbars and toolbar items. The statusbar is now also customizable.
    • The Toolbar Thinger extension lets you add multiple bookmark toolbars and Search Bars as well as other customizations [2]
    • The Toolbar Enhancements extension is currently available only for Firefox 1.0.x, but a third-party version for Firefox 1.5 and 2 is available (through a link at the bottom of that developer-oriented page).
    • The Custom Toolbar Buttons Maker extension, creates a customized subset of Toolbar Buttons for use with toolbars to provide an extension with button access or enable hidden functionality from a button.
    • The Stylish extension allows users to create and share their own styling changes for toolbars, menus, and webpages.