X
Tap here to go to the mobile version of the site.

Support Forum

How can I change the sizes of fonts and icons in the Menu and Toolbars?

Posted

I'm using Firefox 67.0 under MX Linux. My monitor is 25" with a resolution of 1920x1200. With this resolution, the text and icons in Firefox Menu and Toolbars are tiny and almost impossible to read. The Thunderbird add-on Theme and Font Size Changer works reasonably well for Thunderbird, so is there a corresponding add-on for Firefox?

I know that Firefox is largely developed by people who are volunteers, but it seems that a tool, as part of the basic Firefox program, should be available to make these changes without installing add-ons or modifying the code manually. Almost everyone needs to be able to tweak these things at one time or another.

I'm using Firefox 67.0 under MX Linux. My monitor is 25" with a resolution of 1920x1200. With this resolution, the text and icons in Firefox Menu and Toolbars are tiny and almost impossible to read. The Thunderbird add-on Theme and Font Size Changer works reasonably well for Thunderbird, so is there a corresponding add-on for Firefox? I know that Firefox is largely developed by people who are volunteers, but it seems that a tool, as part of the basic Firefox program, should be available to make these changes without installing add-ons or modifying the code manually. Almost everyone needs to be able to tweak these things at one time or another.
Quote
TyDraniu
  • Top 25 Contributor
291 solutions 1631 answers

Helpful Reply

Enter about:config in the URL bar and set layout.css.devPixelsPerPx = 1.5.

You can set a value wchich is convenient for you.

Enter ''about:config'' in the URL bar and set ''layout.css.devPixelsPerPx'' = '''1.5'''. You can set a value wchich is convenient for you.
Was this helpful to you? 1
Quote
McCoy
  • Top 10 Contributor
464 solutions 4223 answers

Hello Warthog-Fan,

And so we meet again .....

Here's the version for Firefox (the developer even mentions Thunderbird-users under "About this extension") :

https://addons.mozilla.org/en-US/firefox/addon/theme-font-size-changer/

I hope this will do what you want, but I thought you might also like to take a look at this add-on :

https://addons.mozilla.org/en-US/firefox/addon/nosquint-plus/

Any good  ?

Hello Warthog-Fan, And so we meet again ..... Here's the version for Firefox (the developer even mentions Thunderbird-users under "About this extension") : https://addons.mozilla.org/en-US/firefox/addon/theme-font-size-changer/ I hope this will do what you want, but I thought you might also like to take a look at this add-on : https://addons.mozilla.org/en-US/firefox/addon/nosquint-plus/ Any good ?
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17267 solutions 156054 answers

Helpful Reply

For elements in the user interface you can only do this via layout.css.devPixelsPerPx like posted above. This pref accepts 0.05 (5%) value increments so you can adjust the value of this pref until you are satisfied. Double check any changes you make to this pref because a misplaced decimal point or a too low value will cause serious issues.

If you need to correct the zooming on web pages after adjusting this pref then you can use an extension like posted by McCoy.

For elements in the user interface you can only do this via <b>layout.css.devPixelsPerPx</b> like posted above. This pref accepts 0.05 (5%) value increments so you can adjust the value of this pref until you are satisfied. Double check any changes you make to this pref because a misplaced decimal point or a too low value will cause serious issues. If you need to correct the zooming on web pages after adjusting this pref then you can use an extension like posted by McCoy.
Was this helpful to you? 1
Quote

Question owner

Using the Theme and Font Size Changer as referenced by McCoy, above doesn't seem to allow me to do anything except change the Theme Background and Color. The lower part of the windows just says that most of the functions of the Add-on don't work any more.

I did enter the about:config command (once I figured out WHERE to enter it) and used the suggested setting to change the size. However, this only seemed to alter the size of the icons, but did not affect the size of the text in the Menu and Toolbars or the Address bar. Is there a similar setting that affects the size of the text in the Menu, Tool, and Address bars?

Using the Theme and Font Size Changer as referenced by McCoy, above doesn't seem to allow me to do anything except change the Theme Background and Color. The lower part of the windows just says that most of the functions of the Add-on don't work any more. I did enter the about:config command (once I figured out WHERE to enter it) and used the suggested setting to change the size. However, this only seemed to alter the size of the icons, but did not affect the size of the text in the Menu and Toolbars or the Address bar. Is there a similar setting that affects the size of the text in the Menu, Tool, and Address bars?
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8498 solutions 69429 answers

The layout.css.devPixelsPerPx preference is a scaling or zoom factor, so it should affect everything in Firefox proportionally. It's possible that there are steps where the change isn't noticeable, but 1.5 (150% of 96 pixels per inch) or 2 (200% of 96 pixels per inch) definitely should cause a noticeable change to the text, too.

The layout.css.devPixelsPerPx preference is a scaling or zoom factor, so it should affect everything in Firefox proportionally. It's possible that there are steps where the change isn't noticeable, but 1.5 (150% of 96 pixels per inch) or 2 (200% of 96 pixels per inch) definitely should cause a noticeable change to the text, too.
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17267 solutions 156054 answers

You can use code in userChrome.css to modify the font size of the location bar and search bar.

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


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

#navigator-toolbox *, .findbar-container, #statuspanel-label {font-size:12pt !important;}

You can use code in userChrome.css to modify the font size of the location bar and search bar. Add code to the <b>userChrome.css</b> file below the default @namespace line. *http://kb.mozillazine.org/userChrome.css <hr> <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ #navigator-toolbox *, .findbar-container, #statuspanel-label {font-size:12pt !important;} </nowiki></pre> ---- *https://www.userchrome.org/what-is-userchrome-css.html *https://www.userchrome.org/how-create-userchrome-css.html
Was this helpful to you?
Quote
McCoy
  • Top 10 Contributor
464 solutions 4223 answers
As you are on Linux - also see : http://forums.mozillazine.org/viewtopic.php?f=38&t=3039060 and : https://www.reddit.com/r/firefox/comments/96v9gx/increasing_the_bookmark_bar_icon_text_and_general/
Was this helpful to you?
Quote
Ask a question

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