Sign in

Request: Hide submenu/menu

  • This topic has 5 replies, 3 voices, and was last updated 2 years, 6 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #4318
    Avatar photoAlex

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

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #4320
    Avatar photoAlex

    ok, understood

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

    #4321
    Avatar photoBob
    Alex wrote:

    and what about hide option for submenu items?

    Good idea.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #4322
    Avatar photojbruno

    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 photoAlex

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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.