Support » Plugin: Modal Dialog » Dialog not working on mobile with custom menu link

  • Hello,

    Having a slight issue with the modal dialog (great plugin by the way) appearing on mobile. I have it set to open when clicking a specific menu item which is inside a dropdown on the nav bar. I used this post as a guidline: https://wordpress.org/support/topic/modal-dialog-on-wp-menu-link

    It works fine on desktop but there is no response on mobile. The disable option for showing on mobile is unchecked also. Perhaps it could be because I have the js code placed within the page itself and the footer.php? I wasn’t sure exactly where to place it.

    That’s the code I’ve used.

    <script type="text/javascript">
    jQuery( "#menu-item-1063" ).click(function() {
    modal_dialog_open();
    });
    </script>

    Any help would be very much appreciated.

    Regards,

    Christos

    https://wordpress.org/plugins/modal-dialog/

Viewing 1 replies (of 1 total)
  • Plugin Author Yannick Lefebvre

    (@jackdewey)

    Sorry for the lack of response. Are you still using Modal Dialog and wanting to know why it does not appear on Mobile? I can investigate if you still need the help on this.

Viewing 1 replies (of 1 total)
  • The topic ‘Dialog not working on mobile with custom menu link’ is closed to new replies.