Convert Plus Close Link Brings you back to top of page

Hi,

I have Convert Plus on our Home page. A pop-up window opens when someone clicks on a particular photo (OUR STORY, OUR AMAZING LOCATION… etc… see photo attached). When you click on the X to close the pop-up window it brings you back up to the top of the website page instead of just where you left off… for phones and tablets. Is there a way to change that behavior so that when you close the pop-up you remain right there at that spot on the page where you first clicked?

https://www.riverstothesea.com

Hello @DzinePOD,

Thanks for writing in! I have checked your site both in desktop and mobile phone. I could not replicate the issue. As soon as I click the photos, the pop up displays. When I close the popup window, it does not scroll the page or bring you back to the top of the page. It will stay on the same spot in my browser or in my phone’s browser window.

Please clear your caches including your browser cache and test the site again.

Hi,

It’s okay for desktop, but not iPhones or iPad. I just used uncached Safari and Chrome on iPhone and it is still doing it. In fact, right when you click on the photo and the pop-up comes up, you can see (in the greyed background under the popup window) that it already has taken you back up to the top of the webpage. Then when I click the CLOSE icon, there we are, at the top. Did you test on an iPhone or iPad? I am seeing it on those, and my client also has an iPhone. He was the one that brought my attention to it.
Thanks for your help and your time.

Hi again,

Thank you for the clarification. To fix the issue, please add the following code in the Theme Options > CSS:

html.cp-iphone-browser.cp-mp-open, html.cp-mp-open.cp-iphone-browser {
    position: relative !important;
    width: auto !important;
    overflow: inherit !IMPORTANT;
}

Don’t forget to clear all caches including your browser’s cache after adding the code. Let us know how this goes!

Perfect! That fixed it. Thanks so much! :grin:

You are most welcome. :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.