• Resolved pwirth158

    (@pwirth158)


    I’m not exactly sure when this started happening – maybe with the most recent update. We have a numbers of buttons on the linked page (all the buttons on the right, in orange or white) that generate a pop up. Now, when clicking the button the page jumps to the top. It didn’t always do this

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Dear @pwirth158,

    Please, add the following code to the HREF attribute of your link to solve this issue: javascript:void(0)

    This issue is resulted by the links on which you have added your popup.

    Thread Starter pwirth158

    (@pwirth158)

    Thank you for your response. Unfortunately these buttons are a function of a module from the platform Divi, so I cannot directly edit the href code line. I tried adding the code you provided as a class, as well as directly into the “custom css” sections for the button module, but nothing worked. Might there be a way to work around this? For what it’s worth, it’s definitely possible that what I tried for the class just wasn’t coded correctly.

    • This reply was modified 6 years, 4 months ago by pwirth158.

    Dear @pwirth158,

    There should be a URL field in your button settings.
    Please, add this code instead of a URL there to solve the issue: javascript:void(0)

    Thread Starter pwirth158

    (@pwirth158)

    No luck with that either, unfortunately.

    The URL field is and has always been blank.

    I’m actually not certain that the jump to top is necessarily a result of the button link. Reason being is that I had at one point, in trying to fix this issue, assigned an ID as the link for the button. When I clicked the button, the pop up would appear and in the background the page would jump to that ID. However, when I clicked out of the pop up, the page would still jump back to the top.

    Dear @pwirth158,

    That’s what I’m trying to explain. ??
    You should add the code in the blank URL field.

    Thread Starter pwirth158

    (@pwirth158)

    Oh my apologies – I wasn’t clear there. I did add the code to the url field, but the problem persisted. I guess I meant to say that I never changed anything with the url field prior to the problem occurring.

    Dear @pwirth158,

    Please, download the following JS file: https://we.tl/t-fc1UKieY4n
    Replace it in the following directory to solve the issue: your_wordpress_folder/wp-content/plugins/popup-builder/public/js/PopupBuilder.js

    Thread Starter pwirth158

    (@pwirth158)

    Well, I replaced that file through SFTP to our directory, cleared all our caches, and unfortunately the pesky problem is still occurring.

    Dear @pwirth158,

    That’s strange.
    Could you, please, contact us so we can assist you directly?
    Here’s our support email address: [email protected]

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Pop ups jump page to the top’ is closed to new replies.