Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @diegojaimo – Thanks. So you have 2 options here. Simplest would be to add the popmake-close class to your button, but I’m not 100% that the button will still make the page scroll that way. Worth testing as it is the simplest solution.

    If not then we need to add some JS.

    <script>
    jQuery('#popmake-457 .avia-button').on('click', function () {
      jQuery('#popmake-457').popmake('close');
    });
    </script>

    Please take a moment to rate and review the plugin and or support.

    Thread Starter diegojaimo

    (@diegojaimo)

    It worked! Thanks!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Close on button click’ is closed to new replies.