(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'm trying to shrink the vertical size of the sub-menus in my drop down menu php

Return to Recent Questions


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

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 = [
["itemPadding=2px"],
];

And assign this style for the first item in submenu.





Return to Recent Questions

Top 53 Killer HTML Templates List Top 54 Brand New jQuery Themes List  |  Best 46 Fresh CSS Themes Collection  |  Best 50 Inspirational and Beautiful HTML Themes Collection  |  AMP Mobile Page Template Review  |  Top 41 Wonderful CSS3 Templates Collection  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. AI Website Builder | Free AI Website Builder | Free AI Website Generator | AI website design generator | AI web page design generator