• Resolved pulsecode

    (@pulsecode)


    I have the menu set up so i’m using my own trigger (which is part of the site theme and gets covered over when the menu opens).

    Of course users can click outside of the menu to close it, but t would be nice to be able to have an actual close button in the menu. Even just an X would work.

    I thought possibly it could be added in the Additional Content area (and then position that at the top of the menu), but i’m not sure if simply adding an element with the correct ID will work so, i thought i’d ask :^)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor responsivemenu

    (@responsivemenu)

    Hey there,

    If you are using a custom trigger then you will need to take control of all the custom trigger functionality which would include creating a separate X etc.

    You can use the Additional Content area option to include an X but there is no magic ID or anything you can use.

    Of course, you can add whatever ID you want and then use this ID in your trigger option as a separated comma list so “#trigger-1, #trigger-2”.

    I don’t see why that wouldn’t work.

    Please let me know

    Thread Starter pulsecode

    (@pulsecode)

    Hey,

    Ah ok very nice! The key was that i can chain multiple IDs for the trigger by comma separating them :^)
    That way i have one for the menu open icon and another for my close button html that i’m putting in the Additional Content area. Works a treat!

    Thank you for the speedy reply too!

    Plugin Contributor responsivemenu

    (@responsivemenu)

    Hey there,

    Exactly my thinking in theory and I’m glad it worked in practice!

    All the best

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Is it possible to add a custom close buton?’ is closed to new replies.