Sunday, November 4, 2018

Changing the UI size of Firefox


On high end display it is possible that the tab and font sizes are small. 


Global Zoom Factor

This will enlarge both the toolbar area and the content area:
(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button accepting the risk.
(2) In the filter box, type or paste pix and pause while the list is filtered
(3) Double-click layout.css.devPixelsPerPx and change its value to 1.25 and click OK, which corresponds to 125% font size in Windows display settings. The toolbar area should enlarge after a few moments. Too small? Try 1.5 and see whether that suits you better. And so on. If you are on Mac and use a Retina display, anything below 2.0 may be smaller than what you started with, so start with 2.0.

Important: Do not go below 1.0 because it may become too tiny to edit.
Source: https://support.mozilla.org/en-US/questions/1186162

Need to increase the font size of tab

Go to your profile folder. Then go to the chrome folder there, creating it if necessary. In the chrome folder, create a plain text file named userChrome.css. Copy and paste the following line as the first line of the file (if it doesn't already exist). This is called the namespace line and you must not alter it. Anything you add later on should always be below it

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

And then add:
 
#PlacesToolbarItems, 
#sidebar-search-container #search-box, 
.sidebar-placesTree {
  font-size: 15px !important; 
  font-weight: bold !important; 
}

label.tab-text {
  font-size: 15px !important; 
}

 
Source: https://support.mozilla.org/en-US/questions/1207607
http://kb.mozillazine.org/UserChrome.css




No comments:

Post a Comment