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


 

    I can’t seem to figure out how to specify the width of individual horizontal menu items for the html menu.

Return to Recent Questions


Q: I can’t seem to figure out how to specify the width of individual horizontal menu items for the html menu. I would like to specify that each menu item on the horizontal take up just 113px regardless of the number of characters in the item. Is there a way of doing that?

A: You should use var itemStyles to set an individual item style. For example:

var itemStyles = [
["itemWidth=113px"]
];
var menuItems = [
["text 1", "link", "icon1", "icon2", "tip", "target", "0"],
["text 2", "link", "icon1", "icon2", "tip", "target", "0"],
["text 3", "link", "icon1", "icon2", "tip", "target", "0"],
];

Where "0" - style number in itemStyles that contains the parameters for items width.

Use Deluxe Tuner GUI to create and assign individual styles.






Return to Recent Questions

Related:
Best 18 Landing Page Bootstrap Theme Roundup Bootstrap Table Template  |  Top Mindblowing HTML Image Slideshow Ideas  |  Bootstrap Alert Colors  |  Bootstrap Pagination Responsive  |  Bootstrap Buttons Group  | 
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 Generator | AI Website Maker | Free AI Website Generator