New SM Dropdown NAv Menu Margins

Sir_EagleSir_Eagle Registered Users Posts: 137 Major grins
edited August 5, 2013 in SmugMug Customization
What would the CSS code be to change the margins for each level of the dropdown menus? I would like to narrow each box up a little.

Comments

  • Sir_EagleSir_Eagle Registered Users Posts: 137 Major grins
    edited August 4, 2013
    Anyone have a guess?
  • Cygnus StudiosCygnus Studios Registered Users Posts: 2,294 Major grins
    edited August 4, 2013
    Something like this should get you started.

    .yui3-menu-item>.yui3-menu-label {
    padding: 1px 46px 2px 22px;
    }
    Steve

    Website
  • Sir_EagleSir_Eagle Registered Users Posts: 137 Major grins
    edited August 4, 2013
    Something like this should get you started.

    .yui3-menu-item>.yui3-menu-label {
    padding: 1px 46px 2px 22px;
    }

    Thanks, that's exactly what I was looking for. I was going in the right direction but just couldn't quit get it all together.
  • Cygnus StudiosCygnus Studios Registered Users Posts: 2,294 Major grins
    edited August 4, 2013
    If you want to add a splash of color to your drop down, here is a place to begin.

    background-color: rgba(90, 30, 10, .85);
    color: rgba(0, 0, 0, .0);

    Just change the color code to your taste.
    Steve

    Website
  • Sir_EagleSir_Eagle Registered Users Posts: 137 Major grins
    edited August 5, 2013
    If you want to add a splash of color to your drop down, here is a place to begin.

    background-color: rgba(90, 30, 10, .85);
    color: rgba(0, 0, 0, .0);

    Just change the color code to your taste.
    Thanks,

    What does this do?
    color: rgba(0, 0, 0, .0);
  • Cygnus StudiosCygnus Studios Registered Users Posts: 2,294 Major grins
    edited August 5, 2013
    It was a hope to change the secondary colors in the drop down. You won't need that part.
    Steve

    Website
  • Sir_EagleSir_Eagle Registered Users Posts: 137 Major grins
    edited August 5, 2013
    That would be why I didn't see it doing anything.

    Any idea why the "About KMartin Photo" link. in my dropdown under "Contact" has a different font and font color?
  • Cygnus StudiosCygnus Studios Registered Users Posts: 2,294 Major grins
    edited August 5, 2013
    Sir_Eagle wrote: »
    Any idea why the "About KMartin Photo" link. in my dropdown under "Contact" has a different font and font color?

    I've not seen that before on any of the new sites. I've been trying to get different fonts and haven't come up with anything that works. If you ever figure out why, please let me know.
    Steve

    Website
  • Cygnus StudiosCygnus Studios Registered Users Posts: 2,294 Major grins
    edited August 5, 2013
    Looking at your code, all the font says:

    @font-face {
    font-family: "Happy Monkey";
    font-style: normal;
    font-weight: 400;
    src: local("Happy Monkey"), local("HappyMonkey-Regular"), url("http://themes.googleusercontent.com/static/fonts/happymonkey/v2/c2o0ps8nkBmaOYctqBq1rXhCUOGz7vYGh680lGh-uXM.woff") format("woff");
    }

    I can't seem to find out how you got 2 different fonts
    Steve

    Website
  • Sir_EagleSir_Eagle Registered Users Posts: 137 Major grins
    edited August 5, 2013
    Only thing I did different was the "About KMartin Photo" is a page and not a gallery link.
Sign In or Register to comment.