How to reduce the spacing between words in nav bar

anonymouscubananonymouscuban Registered Users, Retired Mod Posts: 4,586 Major grins
edited August 19, 2013 in SmugMug Customization
How do I reduce the padding between the words in my nav bar?

Thanks for the help. Link to my site:

alexsotelophotography.com
"I'm not yelling. I'm Cuban. That's how we talk."

Moderator of the People and Go Figure forums

My Smug Site

Comments

  • aschendelaschendel Registered Users Posts: 283 Major grins
    edited August 6, 2013
    Something like this in your global CSS:
    .sm-page-widget-nav-toplink {
        margin-right: 18px;
    }
    

    this is the full "tree", if the above doesn't work try this and then you can pare it back as needed:
    .sm-page-widget-nav .sm-page-widget-nav-popover.sm-page-widget-nav-horizontal .sm-page-widget-nav-toplink {
        margin-right: 18px;
    }
    
  • jdwljdwl Registered Users Posts: 172 Major grins
    edited August 6, 2013
    aschendel wrote: »
    Something like this in your global CSS:
    .sm-page-widget-nav-toplink {
        margin-right: 18px;
    }
    

    this is the full "tree", if the above doesn't work try this and then you can pare it back as needed:
    .sm-page-widget-nav .sm-page-widget-nav-popover.sm-page-widget-nav-horizontal .sm-page-widget-nav-toplink {
        margin-right: 18px;
    }
    

    hi there - I am having white lines as separators between my navbar icons.
    how can I add them in the New SmugMug?

    lg
    HJS
  • aschendelaschendel Registered Users Posts: 283 Major grins
    edited August 6, 2013
    jdwl wrote: »
    hi there - I am having white lines as separators between my navbar icons.
    how can I add them in the New SmugMug?

    lg
    HJS


    you might have some success with CSS like this:
    .sm-page-widget-nav-toplink {
      border-right: 2px solid #000000;
      font-size:1.2em;
      line-height:normal;
      margin:0px !important;
      padding: 0 20px 0 20px;
    }
    
    .sm-page-widget-nav-toplink:last-child {
      border-right: 0px solid #000000;
    }
    
  • jdwljdwl Registered Users Posts: 172 Major grins
    edited August 6, 2013
    aschendel wrote: »
    you might have some success with CSS like this:
    .sm-page-widget-nav-toplink {
      border-right: 2px solid #000000;
      font-size:1.2em;
      line-height:normal;
      margin:0px !important;
      padding: 0 20px 0 20px;
    }
    
    .sm-page-widget-nav-toplink:last-child {
      border-right: 0px solid #000000;
    }
    

    worked - great! thx thumb.gif
  • VNemethVNemeth Registered Users Posts: 42 Big grins
    edited August 18, 2013
    aschendel wrote: »
    you might have some success with CSS like this:
    .sm-page-widget-nav-toplink {
      border-right: 2px solid #000000;
      font-size:1.2em;
      line-height:normal;
      margin:0px !important;
      padding: 0 20px 0 20px;
    }
     
    .sm-page-widget-nav-toplink:last-child {
      border-right: 0px solid #000000;
    }
    

    Is it possible to get the nav bar links to be highlighted when the mouse is over them?
    thanks
    Vic
  • AllenAllen Registered Users Posts: 10,013 Major grins
    edited August 18, 2013
    VNemeth wrote: »
    Is it possible to get the nav bar links to be highlighted when the mouse is over them?
    thanks
    Vic
    Add this to "entire site" CSS
              /* menu hover */
    .sm-page-widget-nav-toplink a :hover, 
    .sm-page-widget-nav-toplink a:hover {
      color: gold !important;
    }
    
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • VNemethVNemeth Registered Users Posts: 42 Big grins
    edited August 18, 2013
    Allen wrote: »
    Add this to "entire site" CSS
              /* menu hover */
    .sm-page-widget-nav-toplink a :hover, 
    .sm-page-widget-nav-toplink a:hover {
      color: gold !important;
    }
    

    Allen
    That worked great. I also added font-size:14px so the link also increases in size at the same time.
    Thanks
    Vic
  • SergeBerrardVisualsSergeBerrardVisuals Registered Users Posts: 177 Major grins
    edited August 19, 2013
    thanks All.
    by the way is it possible to change the font of the navbar (only) ?
    thanks in advance,
    Serge
Sign In or Register to comment.