Mozilla 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

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

  • 2 प्रत्युत्तर
  • 2
  • 1 view
  • के द्वारा अंतिम प्रतियुतर 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.
संलग्न स्क्रीनशॉट

चुने गए समाधान

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?

संदर्भ में यह जवाब पढ़ें 👍 1

All Replies (2)

more options

चयनित समाधान

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!