(c) 2007, DHTML-Menu.com
  Recent Questions
  Write To Support

    I'm trying to shrink the vertical size of the sub-menus in my popup menu right click

Return to Recent Questions

Q: I'm trying to shrink the vertical size of the sub-menu entries in my popup menu right click:

I think I've specified all the parameters correctly in data.js, but it“s hard to tell what affects the height of the submenu entries. Even reducing the type from 10pt to 8pt didn“t shrink them at all.

A: See, you set the following parameter:

var itemPadding = 7;

That is why you have such a big padding around the items.

If you don't want to change the appearance of the main items you should create Individual Style for the subitems. For example:

var menuStyles = [

And assign this style for the first item in submenu.

Return to Recent Questions

Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. free website builder | html5 video background | website builder reviews | bootstrap buttons | bootstrap image slider