• Resolved hollywood123

    (@hollywood123)


    I’m having an issue with the popup not closing when clicking the “X” but it will close clicking outside of the popup. Can you please help me with this?

    Regards,
    Mike

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Damian

    (@timersys)

    Your site is including another version of jquery apart fromt he one included by WordPress which is the correct one.
    That double version is clearing all events you need to remove the jquery script that says
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>

    Thread Starter hollywood123

    (@hollywood123)

    Thanks for the quick reply, I removed the line you suggested but it still isn’t working. Any other thoughts?

    Plugin Author Damian

    (@timersys)

    I see this is staging, could you change the theme to another to see if the conflict is coming from there? It’s like the event is not being fired at all, but all other events are, so I guess somewhere the is a event registered to a links that is preventing the close to work.

    Thread Starter hollywood123

    (@hollywood123)

    I installed the twenty twenty theme and previewed it and the “X” worked so I guess the issue is with our theme.

    Plugin Author Damian

    (@timersys)

    If you want to give me access to the site admin I could try to find out whats wrong with your theme

    Thread Starter hollywood123

    (@hollywood123)

    OK give me an email address to use.

    Plugin Author Damian

    (@timersys)

    You can send email and password to https://wppopups.com/contact/

    Plugin Author Damian

    (@timersys)

    I changed in global.js file a
    $(‘a[href$=”#”]’).click(function(e) {
    return false;
    });

    for
    $(‘a[href$=”#”]’).click(function(e) {
    e.preventDefault();
    });

    And now it’s working

    Thread Starter hollywood123

    (@hollywood123)

    Thank you so much for taking the time to fix this issue!

    Plugin Author Damian

    (@timersys)

    No Problem, please consider leaving a nice review in https://wordpress.org/support/plugin/wp-popups-lite/reviews/ It’s a tremendous help for us

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Popup not closing with “X”’ is closed to new replies.