This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Tool Bar Icons

more options

I would like to reduce the size of the icons in my toolbar, so that more icons will show across the top of my screen. Can this be done? If so ... how do I do that?

Gratitude!

I would like to reduce the size of the icons in my toolbar, so that more icons will show across the top of my screen. Can this be done? If so ... how do I do that? Gratitude!

Chosen solution

Hi, there is no built-in feature for that.

The community often suggests style rule hacks that could, for example, remove the padding around icons so they pack closer together. The are applied to Firefox using the optional userChrome.css file (https://www.userchrome.org/). In case you don't find a better approach, this is the kind of thing I have in mind:

/* Narrow the spacing between toolbar buttons */
#nav-bar .toolbarbutton-icon {
  width: 20px !important;
  padding-left: 2px !important;
  padding-right: 2px !important;
}
#nav-bar .toolbarbutton-badge {
  margin-inline-end: 0 !important;
  padding: 0 1px 1px !important;
  min-width: 6px !important;
}
#PanelUI-button {
  margin-left: 0 !important;
  border-left: none !important;
}
#PanelUI-menu-button, .toolbarbutton-badge-stack {
  padding-left: 0 !important;
  padding-right: 1px !important;
}
Read this answer in context 👍 0

All Replies (1)

more options

Chosen Solution

Hi, there is no built-in feature for that.

The community often suggests style rule hacks that could, for example, remove the padding around icons so they pack closer together. The are applied to Firefox using the optional userChrome.css file (https://www.userchrome.org/). In case you don't find a better approach, this is the kind of thing I have in mind:

/* Narrow the spacing between toolbar buttons */
#nav-bar .toolbarbutton-icon {
  width: 20px !important;
  padding-left: 2px !important;
  padding-right: 2px !important;
}
#nav-bar .toolbarbutton-badge {
  margin-inline-end: 0 !important;
  padding: 0 1px 1px !important;
  min-width: 6px !important;
}
#PanelUI-button {
  margin-left: 0 !important;
  border-left: none !important;
}
#PanelUI-menu-button, .toolbarbutton-badge-stack {
  padding-left: 0 !important;
  padding-right: 1px !important;
}