Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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

  • 6 trả lời
  • 1 gặp vấn đề này
  • 5 lượt xem
  • Trả lời mới nhất được viết bởi 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

Tất cả các câu trả lời (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; }

Được chỉnh sửa bởi cor-el vào

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?