Trigger that closes the menu

Home Forums Pro Support Trigger that closes the menu

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #68573
    Ciaran GaffeyCiaran Gaffey
    Participant

    Hi there,

    Is it possible to have a trigger that closes/opens the menu as well as having the normal button?

    Thanks!

    #68578
    Peter FeatherstonePeter Featherstone
    Participant

    Hey Ciaran,

    Yes, this is what the Trigger option is for as per the docs below:

    https://responsive.menu/docs/basic-setup/button/#advanced

    All the best

    Peter

    #68577
    Ciaran GaffeyCiaran Gaffey
    Participant

    That allows you to use a custom trigger INSTEAD of the button. I want to use BOTH the button and a custom trigger

    #68576
    Peter FeatherstonePeter Featherstone
    Participant

    Hey Ciaran,

    As per the docs the Trigger option allows any valid CSS selector.

    If you want both then you can use the equivalent CSS selector, such as:

    #responsive-menu-pro-trigger, #custom-trigger.

    You can have unlimited triggers if you require.

    Peter

    #68575
    Ciaran GaffeyCiaran Gaffey
    Participant

    Oh great, sorry, I didn’t realise I could enter multiple triggers there. Thanks!

    #68574
    Peter FeatherstonePeter Featherstone
    Participant

    Hey Ciaran,

    Not a problem, I’m glad it works for you now 🙂

    All the best

    Peter

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Trigger that closes the menu’ is closed to new replies.