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

need help with css file. showing close tab button on all tabs only want on unpinned tabs

  • No replies
  • 0 have this problem
more options

/* Make bookmark icons smaller */

  1. PersonalToolbar .toolbarbutton-1 .toolbarbutton-icon {
   width: 12px !important; /* Change to desired size */
   height: 12px !important; /* Change to desired size */

}

/* Adjust web address font size */

  1. urlbar {
   font-size: 10px !important; /* Change to desired size */

}

/* Make toolbar buttons smaller */ .toolbarbutton-1 {

   padding: 1px !important; /* Adjust padding for buttons */
   margin: 0 !important; /* Remove margin if necessary */

}

/* Hide close button on pinned tabs */ .tabbrowser-tab.pinned .tab-close-button {

   display: none !important; /* Hide close button on pinned tabs */

}

/* Show close button only on unpinned tabs */ .tabbrowser-tab:not(.pinned) .tab-close-button {

   display: block !important; /* Show close button on unpinned tabs */
   opacity: 1 !important; /* Always visible on unpinned tabs */

}

/* Make the tab font smaller */ .tabbrowser-tab {

   font-size: 9px !important; /* Change to desired size */

}

/* Make bookmark icons smaller */ #PersonalToolbar .toolbarbutton-1 .toolbarbutton-icon { width: 12px !important; /* Change to desired size */ height: 12px !important; /* Change to desired size */ } /* Adjust web address font size */ #urlbar { font-size: 10px !important; /* Change to desired size */ } /* Make toolbar buttons smaller */ .toolbarbutton-1 { padding: 1px !important; /* Adjust padding for buttons */ margin: 0 !important; /* Remove margin if necessary */ } /* Hide close button on pinned tabs */ .tabbrowser-tab.pinned .tab-close-button { display: none !important; /* Hide close button on pinned tabs */ } /* Show close button only on unpinned tabs */ .tabbrowser-tab:not(.pinned) .tab-close-button { display: block !important; /* Show close button on unpinned tabs */ opacity: 1 !important; /* Always visible on unpinned tabs */ } /* Make the tab font smaller */ .tabbrowser-tab { font-size: 9px !important; /* Change to desired size */ }

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.