Increase font size of Firefox menu, address bar ONLY, without increasing size of content
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!
Svi odgovori (4)
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 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"}
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 ?
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.
the-edmeister said
Blutch saidWould 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 !?