Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #24351

    I’m creating a landing page, and want to hide my menus from just that page. How do I do this?

    #24358
    admin
    Member

    Good 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

    #24357
    benevo7_wp
    Member

    Thank you! The page is benevolentbookkeeping.com/join-us

    #24356

    It 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.

    #24355
    JohnPaul B
    Member

    We 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

    #24354
    Arnel C
    Member

    Hello 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.

    #24353
    Arnel C
    Member

    Hello – 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.

    #24352
    Arnel C
    Member

    Sorry 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.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘How Can I Hide My Menus from a Single Page?’ is closed to new replies.