- AuthorPosts
- April 24, 2017 at 10:31 am #24351Anonymous UserMember
I’m creating a landing page, and want to hide my menus from just that page. How do I do this?
April 25, 2017 at 7:45 am #24358adminMemberGood morning,
So what you’re trying to do isn’t native to WordPress. Typically, menus are displayed on all pages as it’s part of the header of the website. With that being said, it can be accomplished through CSS. Here’s a great resource from WordPress.org explaining how to do so. If you provide a link to the page you are working on, we can actually help you with the exact code to place in the WordPress backend to stop the menu from displaying.
Please feel free to reply back with a link to your landing page and we’ll be happy to assist you further. I hope this helps. Thanks!
Tim S.
Customer Community Manager
April 25, 2017 at 10:11 am #24357benevo7_wpMemberThank you! The page is benevolentbookkeeping.com/join-us
April 25, 2017 at 12:05 pm #24356Christopher MMemberIt looks like you can use CSS to hide the header using CSS (display:none) on the class “.boldgrid-section”. The link Tim provided explains how to accomplish the CSS part. On the BoldGrid side, I advise using the custom css editor.
April 26, 2017 at 2:25 pm #24355JohnPaul BMemberWe are happy to guide you in using the BoldGrid plugin. But unfortunately, since this is a custom-coding solution you will have to determine and test the code for your specific site. Essentially, WordPress is designed to server the same header.php file for each page. So, changing the nature of this will require you to override, or workaround WordPress functionality.
Thank you,
John-Paul
April 27, 2017 at 12:06 pm #24354Arnel CMemberHello Benevo7_wp,
In order for us to help you, go to the page where you’re having issues, and provide us the URL where you’re having the problem. That is the link that we need in order to research the issue for you. We can’t provide that information for you.
If you have any further questions or comments, please let us know.
Regards,
Arnel C.
April 27, 2017 at 2:52 pm #24353Arnel CMemberHello – when I go to “benevolentbookkeeping.com/main” I see nothing there. We would need to be able to login to your site to specifically find that post you’re referring to. However, to make this easier, you may want to look some menu plugins. For example, check out If Menu. There are a bunch of plugins that will do this for you. Making changes with code is possible, but if the problem is most likely better resolved with a plugin.
Regards,
Arnel C.
May 3, 2017 at 4:24 pm #24352Arnel CMemberSorry for the issue with the blog page menu. You’re dealing with custom coding which we typically do not provide. In the previous issue, there was a unique identifier for the menu on the page. This allowed for that code to hide the menu with no problem. However, the way that WordPress builds the menu on this page, there is no unique identifier. There is only the generic site menu identifier. If you remove it, then you remove it from the entire website. The first option that you asked for was easy to provide, but in this case, custom coding is required and the previous solution will not work. My suggestion is that you consult with a developer or use a plugin that can hide menus within WordPress. Please be aware that any custom coding solution requires testing and you should be aware that updates to the theme may remove custom code. So you may need to re-apply custom code after updates. To avoid having to do that, if you are making CSS changes, I highly recommend using the Advanced option for CSS and JSS updates (https://www.boldgrid.com/support/using-the-customizer/advanced-customizer-options/). Changes made in this interface for CSS/JS will not be removed by updates to BoldGrid.
If you have any further questions or comments, please let us know.
Regards,
Arnel C.
- AuthorPosts
- The topic ‘How Can I Hide My Menus from a Single Page?’ is closed to new replies.