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

Support Forum

Increase font size of Firefox menu, address bar ONLY, without increasing size of content

Posted

Hello,

I would like to increase the size of the font on the menu, address bar, and tabs without increasing the size of web content. I like the web content as it is. I therefore DO NOT want to increase the font globally. Is this possible? Previous answers to similar requests pointed users to an extension to do this. However that extension no longer works (because of some update in 2017 I think). Thanks for your help!

Hello, I would like to increase the size of the font on the menu, address bar, and tabs without increasing the size of web content. I like the web content as it is. I therefore DO NOT want to increase the font globally. Is this possible? Previous answers to similar requests pointed users to an extension to do this. However that extension no longer works (because of some update in 2017 I think). Thanks for your help!

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:63.0) Gecko/20100101 Firefox/63.0

More Information

cor-el
  • Top 10 Contributor
  • Moderator
17415 solutions 157317 answers

What Firefox menu are you talking about?

On Mac the main menu bar is under control of the OS, so you can't modify its appearance via code in userChrome.css The other toolbars (Navigation Toolbar, Bookmarks Toolbar, and Tab bar) can be modified via code in userChrome.css. I use code like posted below (I prefer monospace font in input fields).

See also:

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 */

/* FONT-SIZE: URLBAR FINDBAR SEARCHBAR*/
:-moz-any(#urlbar-container, .findbar-container) {font-size:10pt!important}
.urlbar-input-box, .findbar-textbox, .searchbar-textbox {font-size:11pt!important; font-family:"DejaVu Sans Mono"}

/* FONT-SIZE: dialogs */
:-moz-any(#commonDialog, #sidebar-box, #bookmarksPanel,#history-panel) *{font-size:11pt!important}

/* FONT-SIZE: Bookmarks */
#bookmarksBarContent menuitem,
#bookmarksMenuPopup menu,
#bookmarksMenuPopup menuitem {font-size:11pt!important;}

/* FONT-SIZE: Places Library */
#places .textbox-input-box {font-size:12pt; font-family:"DejaVu Sans Mono"}
What Firefox menu are you talking about? On Mac the main menu bar is under control of the OS, so you can't modify its appearance via code in userChrome.css The other toolbars (Navigation Toolbar, Bookmarks Toolbar, and Tab bar) can be modified via code in userChrome.css. I use code like posted below (I prefer monospace font in input fields). See also: *https://www.userchrome.org/how-create-userchrome-css.html *https://www.userchrome.org/what-is-userchrome-css.html 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 */ /* FONT-SIZE: URLBAR FINDBAR SEARCHBAR*/ :-moz-any(#urlbar-container, .findbar-container) {font-size:10pt!important} .urlbar-input-box, .findbar-textbox, .searchbar-textbox {font-size:11pt!important; font-family:"DejaVu Sans Mono"} /* FONT-SIZE: dialogs */ :-moz-any(#commonDialog, #sidebar-box, #bookmarksPanel,#history-panel) *{font-size:11pt!important} /* FONT-SIZE: Bookmarks */ #bookmarksBarContent menuitem, #bookmarksMenuPopup menu, #bookmarksMenuPopup menuitem {font-size:11pt!important;} /* FONT-SIZE: Places Library */ #places .textbox-input-box {font-size:12pt; font-family:"DejaVu Sans Mono"} </nowiki></pre>
Blutch 1 solutions 6 answers

Would you have a simpler answer please ? I understand nothing. I am trying to find a way to change my FF menu bar (the one w/ File, Edit, View"..."FONT" back to what it was, hence, a bit bigger. I changed nothing, did a recovery, today it's back to smaller.

No clue why ?

Would you have a simpler answer please ? I understand nothing. I am trying to find a way to change my FF menu bar (the one w/ File, Edit, View"..."FONT" back to what it was, hence, a bit bigger. I changed nothing, did a recovery, today it's back to smaller. No clue why ?
the-edmeister
  • Top 25 Contributor
  • Moderator
5395 solutions 40084 answers

Blutch said

Would you have a simpler answer please ?

Are you running a Mac OSX operating system, as the OP of this question is using?

If you are on Windows or Linux, the answer may be different.

''Blutch [[#answer-1190225|said]]'' <blockquote> Would you have a simpler answer please ? </blockquote> Are you running a Mac OSX operating system, as the OP of this question is using? If you are on Windows or Linux, the answer may be different.
Blutch 1 solutions 6 answers

the-edmeister said

Blutch said
Would you have a simpler answer please ?

Are you running a Mac OSX operating system, as the OP of this question is using?

If you are on Windows or Linux, the answer may be different.

Sorry for the delay, I am using FF 64.0.2, and running on Win 7. What I mean in the menu bar, the one with "File, Edit, View, History...", it has been reduced (the font), and I have no clue why, it must be about 10 as the rest is 11 or 12, dunno !?

''the-edmeister [[#answer-1190282|said]]'' <blockquote> ''Blutch [[#answer-1190225|said]]'' <blockquote> Would you have a simpler answer please ? </blockquote> Are you running a Mac OSX operating system, as the OP of this question is using? If you are on Windows or Linux, the answer may be different. </blockquote> Sorry for the delay, I am using FF 64.0.2, and running on Win 7. What I mean in the menu bar, the one with "File, Edit, View, History...", it has been reduced (the font), and I have no clue why, it must be about 10 as the rest is 11 or 12, dunno !?