Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

How to increase the font size in the right click context menu?

  • 2 uphendule
  • 2 zinale nkinga
  • 1 view
  • Igcine ukuphendulwa ngu Photek

more options

I'd like to make the font size larger in all the right click context menus. At the moment i have this in the userChrome.css file and it partially works:

  1. mainPopupSet menuitem { font-size: 12pt !important; }

... But the one problem is that it doesn't change the font size for options that have a sub-menu (anything with a ">"). For example when right clicking on a video the "Play Speed >" font size remains unchanged. See the attached image for example.

Anyone know how this fix this? Thanks.

I'd like to make the font size larger in all the right click context menus. At the moment i have this in the userChrome.css file and it partially works: #mainPopupSet menuitem { font-size: 12pt !important; } ... But the one problem is that it doesn't change the font size for options that have a sub-menu (anything with a ">"). For example when right clicking on a video the "Play Speed >" font size remains unchanged. See the attached image for example. Anyone know how this fix this? Thanks.
Ama-screenshot ananyekiwe

Isisombululo esikhethiwe

Hi Photek, those are <menu>, so you can add a second selector for the same rule:

#mainPopupSet menuitem,
#mainPopupSet menu {
  font-size: 12pt !important; 
}

Does that work for you?

Funda le mpendulo ngokuhambisana nalesi sihloko 👍 1

All Replies (2)

more options

Isisombululo Esikhethiwe

Hi Photek, those are <menu>, so you can add a second selector for the same rule:

#mainPopupSet menuitem,
#mainPopupSet menu {
  font-size: 12pt !important; 
}

Does that work for you?

more options

Thanks very much jscher2000, that works perfectly!