Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

The 'x' in a tab for closing it is too small, how to re-size it?

  • 5 replies
  • 13 have this problem
  • 29 views
  • Last reply by cor-el

more options

The small 'x' in the tab used for closing the tab is too small and hard to hit, especially when using a trackball or pad. Need some way to make the character bigger.

The small 'x' in the tab used for closing the tab is too small and hard to hit, especially when using a trackball or pad. Need some way to make the character bigger.

Chosen solution

Add code to userChrome.css below the @namespace line.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

.tab-close-button .toolbarbutton-icon,
.tabs-closebutton .toolbarbutton-icon {
height: 25px !important;
width: 25px !important;
margin:-4px 0px !important;
}

Read this answer in context 👍 2

All Replies (5)

more options

Yes, it is a bit on the small size, but I don't know of a way to resize it.

However, there are other ways of closing tabs.

  • Hit CTRL+W
  • Right click the tab and choose "Close tab"
  • Point the mouse at the tab and press the middle mouse button (probably no good to you since you've got a pad).
  • Install one of these add-ons: Close tab
more options

Chosen Solution

Add code to userChrome.css below the @namespace line.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

.tab-close-button .toolbarbutton-icon,
.tabs-closebutton .toolbarbutton-icon {
height: 25px !important;
width: 25px !important;
margin:-4px 0px !important;
}

more options

Thank you Xircal for the info.

Modified by seymour_b

more options

Thank you cor-el, just what I was needing. This worked great after I found the right file to edit.

Modified by seymour_b

more options

You're welcome