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

which UserChrome.css command can use to change Menu font size? layout.css.devPixelsPerPx it is not enought

  • 6 پاسخ
  • 1 has this problem
  • 15 views
  • آخرین پاسخ توسّط unocastillo

more options

Hi i would like to know how i can change the font size of my Firefox Menu.

i already change the size of the layout whit "layout.css.devPixelsPerPx" but it didn´t change the font size of the tabs or the menu. i did some research and found the userCrome.css technique to change some fonts sizes. i already change the font size of the address bar, PopMenu and tabs. But when it comes to the Main Menu, and bookmarks the font still in the same size. i also try changing the fonts size on preferences but nothing has been working.

i guess there must be a simple command line to add in the userCrome.css file to fix this but i can find it.

if some of you can help me i will appreciate very much.

i am working on a linux machine. thank you very much

Hi i would like to know how i can change the font size of my Firefox Menu. i already change the size of the layout whit "layout.css.devPixelsPerPx" but it didn´t change the font size of the tabs or the menu. i did some research and found the userCrome.css technique to change some fonts sizes. i already change the font size of the address bar, PopMenu and tabs. But when it comes to the Main Menu, and bookmarks the font still in the same size. i also try changing the fonts size on preferences but nothing has been working. i guess there must be a simple command line to add in the userCrome.css file to fix this but i can find it. if some of you can help me i will appreciate very much. i am working on a linux machine. thank you very much

All Replies (6)

more options

Some Linux distributions come with their own menu bar and in such a case you can't modify this in Firefox via userChrome.css.

Modifying layout.css.devPixelsPerPx should affect the entire Firefox window.


Try the Firefox version from the official Mozilla server if you currently use a version from the repositories of your Linux distribution.


#main-menubar { font-size: 16pt !important; }
more options

My firefox version it is the last one. i did what you said but it didn´t work.

When i change the layout.css.devPixelsPerPx setting all things are affected except for the "sandwich Menu" the icons change but not the font. i don´t know why. fonts of this menu remain small

more options

Is this about the Firefox menu bar or a menu bar at the top of the window that is under control of Ubuntu ?

In case of the latter, you can't control this from within Firefox.

more options

it is about the font size on its main menu. (the "sandwuich" menu at the right top corner.

more options

For the "3-bar" Firefox menu button drop-down list it would be this code in userChrome.css.

#appMenu-multiView { font-size: 13pt !important; }

Modified by cor-el

more options

thank you very much. it worked finally!!!.

just one more question. When i download something from the web, the window dialog that shows up to choose where to save the files stills showing small fonts. that it is the only thing that remains small.

it is matter of firefox or it is controlled by the OS?