• Resolved shobin1

    (@shobin1)


    Hi, I have been using wp-popups for a year now and it has been a great plugin. Now the only thing is that when I open a popup and close it. It takes me to the top of the page. I looked into the code and below is the generated code:
    [a href=”#” class=”spu-close spu-close-popup spu-close-top_right”>×</a]

    But, when I change the code to the below in the browser test space to the below, it works great
    [a href=”#!” class=”spu-close spu-close-popup spu-close-top_right”>×</a]

    Is there any way I can make this update in the plugin core files/ php files, so that this update gets reflected and is fixed. If yes can you let me know where to find this code sequence. Thanks.

    • This topic was modified 4 years, 3 months ago by shobin1.
    • This topic was modified 4 years, 3 months ago by shobin1.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter shobin1

    (@shobin1)

    Hi, I actually found the solution by editing the code in class-printer.php. Thanks for maintaining this wonderful plugin

    I also don’t want it to go to the top after closing so can you also tell me step by step how can i do this too.

    Thankyou

    Plugin Author Damian

    (@timersys)

    Next version that will be released today fixes the issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Closing the popup takes me to the top of the screen’ is closed to new replies.