搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 2 个回答
  • 2 人有此问题
  • 1 次查看
  • 最后回复者为 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

所有回复 (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!