Options

Hide Navbar on homepage only

tobemetobeme Registered Users Posts: 308 Major grins
edited October 7, 2013 in SmugMug Customization
I'm looking for a code to hide the navbar for the homepage only. Thanks :oogle



www.wallacehuo.info

Comments

  • Options
    denisegoldbergdenisegoldberg Administrators Posts: 14,247 moderator
    edited October 6, 2013
    If you want your homepage to look different than the other pages on your site have you considered setting the homepage to independent?

    Customize site, Settings, Independent homepage = on.

    --- Denise
  • Options
    tobemetobeme Registered Users Posts: 308 Major grins
    edited October 6, 2013
    Thanks. That shall work.
  • Options
    brandofamilybrandofamily Registered Users Posts: 2,013 Major grins
    edited October 6, 2013
    If you want your homepage to look different than the other pages on your site have you considered setting the homepage to independent?

    Customize site, Settings, Independent homepage = on.

    --- Denise
    Can you explain the whole independent homepage idea? I don't really get it.
    Will I need to choose a separate theme and do separate CSS code for the homepage as compared to the rest of the site?
    Where do I store my CSS code?
  • Options
    denisegoldbergdenisegoldberg Administrators Posts: 14,247 moderator
    edited October 6, 2013
    Can you explain the whole independent homepage idea? I don't really get it.
    Will I need to choose a separate theme and do separate CSS code for the homepage as compared to the rest of the site?
    Where do I store my CSS code?
    I believe it just disconnects the homepage from your "entire site" look.

    I had inadvertently set that when I first started playing and it took me a while to figure out why my site name and menu were missing from my homepage. That wasn't what I wanted so I set the homepage to not be independent.

    I believe you would store your CSS on that page. Just drag a CSS block to the homepage if you need one.

    --- Denise
  • Options
    brandofamilybrandofamily Registered Users Posts: 2,013 Major grins
    edited October 7, 2013
    tobeme wrote: »
    I'm looking for a code to hide the navbar for the homepage only. Thanks :oogle



    www.wallacehuo.info


    Add this to your CSS...
    .sm-user-ui .sm-page-home .sm-page-widget-nav {
      display: none;
    }
    
Sign In or Register to comment.