• Resolved Anonymous User

    (@anonymized-15133420)


    Hi-
    I have installed a quick view plugin for my products that I’m told is conflicting with the Scroll to id plugin. I’ve tried deleting the plugin from WordPress and my FTP, but my page is still scrolling.

    On the other hand, the issue I’m having with the quick view plugin is whenever the quick view window is opened, everything scrolls to the top of the page.

    Being that I really like your plugin, is there a way to fix the scrolling to the top of the page when opening my quick view. If not, how can I completely remove your plugin. My website is http://www.canekitchen.com

    Thank you for all of your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author malihu

    (@malihu)

    Hello,

    I just checked your link and “Page scroll to id” is not activated, so it seems you’ve removed it correctly(?)
    FYI the plugin is removed just like any other. In wp admin > plugins: you deactivate it and click the delete link below the plugin’s name.

    If the unwanted scrolling still happens, then the problem was not “Page scroll to id”.

    In fact, I cannot imagine how “Page scroll to id” would conflict with another plugin, since in order to make it work, you have to manually enabled it on your link(s).

    In any case, if it somehow does conflict with your quick view plugin, I’d be happy to assist you. The thing is I don’t know how to replicate the issue you’re describing. Where and how do I open the the quick view window?

    If you mean the modal window that opens when I click the green cross on the product image, then “Page scroll to id” has nothing to do with it.

    Let me explain what happens:

    When the quick view modal opens, the HTML element CSS overflow property changes from auto/visible to hidden (that’s why the scrollbar disappears). Each time an element with scrollbar changes its overflow property, its scrolling position is reset! This is an HTML/CSS behavior.

    When you close the modal, the HTML overflow property comes back from hidden to auto but since its position has been reset, the scrolling starts again from top (as if you first loaded the page).

    The HTML overflow property is changed in line 7 of yith-quick-view.css which is the quick view plugin’s own CSS. If you remove these lines:

    
    html.yith-quick-view-is-open,
    html.yith-quick-view-is-open body {
        overflow: hidden;
    }
    

    the scrolling will stop resetting and page will keep its position.

    I don’t know who told you that this happened because of “Page scroll to id” but it really has nothing to do with it. The 2 plugins have completely different functionality and because of the way “Page scroll to id” is developed, it’s pretty much impossible to “mess” with other scripts, unless you specifically tell it to 🙂

    Let me know

    Thread Starter Anonymous User

    (@anonymized-15133420)

    Awesome thank you so much! The above change worked! I’m sorry about that, I spoke to Yith as to why it was scrolling and they said if I have a scrolling id plugin, that it was the cause. I really appreciate your help & I’m happy that I get to keep your plugin on my website. Thank you again!

    Plugin Author malihu

    (@malihu)

    You’re welcome. Glad I helped 🙂

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

The topic ‘Disable Plugin/ Quick view scrolling to top’ is closed to new replies.