Adjusting the spacing of horizontal menu items

richpepprichpepp Registered Users Posts: 360 Major grins
edited August 28, 2013 in SmugMug Customization
Hi folks

Does anyone know how to adjust the spacing between menu items if you are using a vertical menu bar on the left. The css looks like it should be .sm-page-widget-nav-toplink { margin-bottom: 15px; } or something like that but I'm clearly not being specific enough as it is being overridden by the theme settings.

Anyone done this yet?

tx

Rich

Comments

  • AllenAllen Registered Users Posts: 10,013 Major grins
    edited August 21, 2013
    richpepp wrote: »
    Hi folks

    Does anyone know how to adjust the spacing between menu items if you are using a vertical menu bar on the left. The css looks like it should be .sm-page-widget-nav-toplink { margin-bottom: 15px; } or something like that but I'm clearly not being specific enough as it is being overridden by the theme settings.

    Anyone done this yet?

    tx

    Rich
    Try padding instead of margin. Probably top and bottom.
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • richpepprichpepp Registered Users Posts: 360 Major grins
    edited August 28, 2013
    and the answer is

    .sm-page-widget-nav-toplink {
    margin-bottom: 16px !important;
    }

    I had missed out the !important flag

    or, if you prefer to avoid using !important then you can use this
    .sm-page-widget-nav .sm-page-widget-nav-popover.sm-page-widget-nav-vertical .sm-page-widget-nav-toplink {margin-bottom:16px}
Sign In or Register to comment.