Site logo

[Resolved] Hide menu items

Home Forums Support [Resolved] Hide menu items

Home Forums Support Hide menu items

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #317775
    Rob

    Hi,

    I just want to hide certain pages on the mobile menu.
    I followed the advice to add this CSS “hide-on-mobile” but to do that means making those pages visible on the desktop menu.
    I don’t want them appearing anywhere.
    Any help would be appreciated

    #317848
    Leo
    Staff
    Customer Support

    Hi Rob,

    There are also hide-on-desktop and hide-on-tablet classes you can use.

    But if you want to hide certain menu items all together can’t you just delete them from the menu?

    Let me know if this helps.

    #318038
    Rob

    Cheers Leo, you’re a legend

    #318040
    Leo
    Staff
    Customer Support

    Glad I could help 🙂

    #318060
    Rob

    Still got problems!
    I’ve added hide-on-mobile hide-on-tablet and hide-on-desktop to the CSS classes of the items I want hidden and that works on desktop and tablet but they show up on mobile/

    I’ve tried deleting them from the menu before and yeah they don’t show up on desktop but there they are, taunting me, on my mobile!

    I’ve even gone in and cleared my browser cache and history but the unkillable bastards persist

    #318062
    Leo
    Staff
    Customer Support

    Deleting the menu item from the menu should definitely work.

    Make sure you are using the same menu for mobile and desktop:
    https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#setting-a-theme-location

    #318097
    Rob

    Yep same menu on both.
    I don’t suppose you could take a look for me?

    #318211
    Tom
    Lead Developer
    Lead Developer

    Can you post a link to your site?

    #318404
    Rob

    I certainly can
    http://robmanns2017-001-site1.htempurl.com/
    I can PM you the login if you need it

    Thanks a million

    #318408
    Leo
    Staff
    Customer Support

    Looks like you are using a different menu for desktop and mobile currently.

    Which item are you trying to remove that’s currently showing?

    #318411
    Rob

    Many:
    Password Reset
    Logout
    Login
    Register
    All Members
    Account
    Forms
    Posts

    Here’s a screencap of my menu set up. There is only one other menu set up and that goes in the footer and contains different links altogether
    My menu set up

    #318413
    Leo
    Staff
    Customer Support

    Try checking Slideout Menu as well.

    Let me know.

    #318416
    Rob

    Nailed it!

    Thank you so much.

    Now why the hell didn’t I think of that? Stupid brain

    #318419
    Leo
    Staff
    Customer Support

    Glad I could help!

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