Show Minimum Pro Tagline Only On HomePage – Menu Disappears

Community Forums Forums Design Tips and Tricks Show Minimum Pro Tagline Only On HomePage – Menu Disappears

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  Regina Smola 1 year, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #62540

    Regina Smola
    Participant
    Post count: 7

    Hi,

    I was reading the post on how to show the tagline on the homepage only of the Minimum Pro child theme here:

    http://www.studiopress.com/forums/topic/show-minimum-pro-tagline-only-on-homepage/#post-60139

    The code from braddalton works great, except it removes the primary navigation menu from all the other pages.

    Any idea on how to show “else” show the primary navigation on all other pages?

    P.S. If using a custom menu in Header right it works fine, but I need the primary navigation to show.


    #62856

    Aaron Hartland
    Participant
    Post count: 37

    The navigation isn’t actually being removed, it’s just hidden behind the fixed site header. The site tagline has top margin keeping it from disappearing behind the header. I’d suggest adding 60px of margin to the primary nav on all pages except the homepage.

    .nav-primary {
    margin-top: 60px;
    margin-top: 6rem;
    }

    .home .nav-primary {
    margin-top: 0;
    }


    Aaron Hartland | http://www.aaronhartland.com
    Twitter  |  Facebook  |  LinkedIn  |  Google+

    #62887

    Regina Smola
    Participant
    Post count: 7

    Awesome Aaron! Thanks so much.


Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.