Changing font size for context menu items

0
0

Hi,

Is there a way to change the font size for context menu items?  The items appear to be preset at 13px which are a bit small on mobile devices.

  • You must to post comments
0
0

There is a font definition for the menu items in the themes under fonts, you can change it like this in a theme mixin

{
 "fonts": {
   "menu": {
     "size": 23,
     "family": [ "arial", "verdana", "sans-serif" ]
   }
  }
}

Or you can set AllowHtml to true and add any html to the text, like <big>Item 1</big> or <span style…>Items</span>.

 

 

 

  • You must to post comments
0
0

There is a font definition for the menu items in the themes under fonts, you can change it like this in a theme mixin

{
 "fonts": {
   "menu": {
     "size": 23,
     "family": [ "arial", "verdana", "sans-serif" ]
   }
  }
}

Or you can set AllowHtml to true and add any html to the text, like <big>Item 1</big> or <span style…>Items</span>.

 

 

 

  • Andrew Hills
    AllowHtml worked. Thanks Luca.
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.