Site logo

[Resolved] Disable second-level navigation

Home Forums Support [Resolved] Disable second-level navigation

Home Forums Support Disable second-level navigation

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2348617
    Camilo Luna

    Hi,

    Is there a way to change the navigation to 1 level only? I’d like to keep the items in the menu to get the “current_page_item” styling, but don’t want those second-level items to be shown.

    Can this be achieved through hooks or filters? Or should I hide them with CSS (not ideal because of the arrow and spacing).

    Thanks.

    #2348798
    Ying
    Staff
    Customer Support

    Hi there,

    GP doesn’t have control over how menu items are structured.

    So there’s no such solution or filter from the theme, unfortunately.

    Maybe just use CSS.

    #2349292
    Camilo Luna

    Thanks for the answer Ying, I’ll go ahead with CSS then.

    #2349844
    Ying
    Staff
    Customer Support

    You are welcome 🙂

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