Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

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

  • 2 답장
  • 2 이 문제를 만남
  • 72 보기
  • 최종 답변자: 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!