Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

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!