[Support request] One menupoint should not toggle

Home Forums Support [Support request] One menupoint should not toggle

Home Forums Support One menupoint should not toggle

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #260459
    Patrick

    Hi,

    Happy New Year to you all.

    I need one from my menupoints to save from toggle on mobile. This Menupoint should stay beside of the hamburgermenu on mobile. How can I make this happen?

    Thanks and regards
    Patrick

    #260613
    Tom
    Lead Developer
    Lead Developer

    Hi Patrick,

    Interesting question, unfortunately I can’t think of a good answer. The mobile menu button is a <button> element, so nothing else can be added inside of it while maintaining valid HTML.

    The only thing I can think of is using the generate_inside_navigation hook: https://docs.generatepress.com/article/generate_inside_navigation/

    Then inside that hook, add your menu item, and give it a class of hide-on-desktop so it only shows up on mobile.

    Let me know if you need more info 🙂

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