(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    How do I change the font style for menus to bold, but leave the sub-menus normal in the html navigation bar?

Return to Recent Questions


Q: How do I change the font style for menus to bold, but leave the sub-menus normal in the html navigation bar?
I understand there’s a “fontStyle” variable, but is there an “itemfontStyle”?

A: You can use Individual Item styles to set specific parameters for each item or submenu.

var fontStyle=["normal 9pt Verdana","normal 9pt Verdana"]; //for subitems

//style for the top items:
var itemStyles = [
["itemHeight=21px","itemBackColor=#F2F3F2,#1665CB","fontStyle='bold 9pt Verdana','bold 9pt Verdana'"],
];






Return to Recent Questions

Related:
Bootstrap Header Example Bootstrap Label Input  |  Bootstrap Progress bar Jquery  |  Bootstrap Textarea Group  |  Bootstrap Switch Value  |  Bootstrap Slider Usage  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free AI Website Builder | AI Website Builder | AI Website Maker | Free AI Website Generator | AI Website Generator