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.
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
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.
The topic ‘How to hide navigation on home/static page only’ is closed to new replies.
Are you a blogger, web designer, developer, or website owner looking to generate more income?