Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

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

  • 6 svar
  • 1 har detta problem
  • 15 visningar
  • Senaste svar av 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

Alla svar (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; }

Ändrad av 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?