Reducing vertical child menu item spacing help

David_S85David_S85 Administrators Posts: 13,245 moderator
edited March 4, 2015 in SmugMug Customization
I am trying to reduce the spacing and padding for sub menu text in a horizontally laid out menu (see screen grab below).

I have Aaron's code for accomplishing this same concept in accordion menus, but it doesn't exactly apply for the horizontal choice.

How would I re-code this block to do the same? Thanks!

i-4msXG8S-XL.gif
My Smugmug
"You miss 100% of the shots you don't take" - Wayne Gretzky

Comments

  • tomnovytomnovy Registered Users Posts: 1,102 SmugMug Employee
    edited March 4, 2015
    Hi David,

    Try using this CSS code:

    .sm-page-widget-nav .sm-page-widget-nav-popover .yui3-menu .yui3-menu-label {
    line-height: 10px;
    }
    SmugMug Support Hero | Customizer | My SmugMug site - http://www.photom.me | Customization Portal - https://customsmug.com/
  • David_S85David_S85 Administrators Posts: 13,245 moderator
    edited March 4, 2015
    Fantastic! That reduced the height by a third. Thank you very much, Tom!
    My Smugmug
    "You miss 100% of the shots you don't take" - Wayne Gretzky
Sign In or Register to comment.