Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Request: Hide submenu/menu

  • #4318
    Avatar photo[anonymous]

    Hi

    we have posts and you can hide the post. Menu elements are not affected by these hidden posts, so you need to go to menu and delete submenu.

    It would be nice to relate hidden post to existing menu and

    Make Hide button for menu and submenu.

    Otherwise you need to delete and then recreate

    Thanks

    #4319
    Avatar photoBob

    The “hide post” option is more like: create a “static page”,  we called it “hide”, because the “hidden” post is removed from all the post listings.
    So, marking a post as “hide” should not affect the menu content as you should be able to pin this page to the menu (e.g: contact page).

    #4320
    Avatar photo[anonymous]

    ok, understood

    and what about hide option for submenu items? I want to disable one submenu for some time, for example

    #4321
    Avatar photoBob
    [anonymous] wrote:

    and what about hide option for submenu items?

    Good idea.

    #4322
    Avatar photo[anonymous]

    class-hide
    css-display-none

    In the menu, for any of the menu items you want to hide, just add the class name ‘hidden’, then under tools > custom css, add the following:

    .hidden {
    display: none !important;
    }

    #5437
    Avatar photo[anonymous]

    Thank you for this:
    <h3>Hide Menu Items On the Frontend</h3>
    0.38 🙂