How to hide navigation on home/static page only

Community Forums Forums Design Tips and Tricks How to hide navigation on home/static page only

This topic is: resolved

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #37812

    CreativeKristi
    Participant
    Post count: 17

    Is there a way to hide the navigation on a home/static page only? I would like to keep it like it is (using the primary navigation) and not have to register a new widget to go across the inner width and use a widget logic plugin to hide it–I’d prefer to just use the primary navigation and find a way to hide it on the static page.

    Thanks!


    I work at Creative Kristi Designs
    I play at Creative Kristi
    Affordable. Beautiful. Personal. Custom. Design for everyone.

    #37820

    braddalton
    Participant
    Post count: 8892

    You can do this using several methods but the easiest way to hide it on a single page is using CSS in your child themes style.css file.

    Which site and which static page(s) do you want to remove the primary nav menu from?

    Another option is to use PHP code in your child themes functions.php file.

    Code not displaying? Grab it on Github.

    You can easily change the conditional tags to suit your needs.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #37901

    CreativeKristi
    Participant
    Post count: 17

    Thanks Brad! That was exactly what I was looking for! That was a great post (http://wpsites.net/web-design/remove-nav-menu-specific-page/) to explain different ways to do that as well.

    Thanks again!


    I work at Creative Kristi Designs
    I play at Creative Kristi
    Affordable. Beautiful. Personal. Custom. Design for everyone.

    #37991

    braddalton
    Participant
    Post count: 8892

    No worries Kristi.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

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

The topic ‘How to hide navigation on home/static page only’ is closed to new replies.