Reply To: Window jumps before it is centred

Your Account / Forums / Easy FancyBox Pro / Window jumps before it is centred / Reply To: Window jumps before it is centred

December 5, 2016 at 10:53 am #7504

that the “page” thinks this is an anchor and tries to navigate ….

Indeed, that is the smooth scrolling script mentioned earlier. Turns out it’s inside the theme script x-body.js … the part is called Scrollspy and in particular the modified part of it that differs from the standard Bootstrap Scrollspy script.

The way the modification is constructed makes it impossible (as far as I can tell) to disable the effect for particular links but… there is ONE exception: scroll animation is disabled for links with target “#comments”. Or a target that start with #comments.

This might give us a handle to work around the theme’s scroll effect.

Rename the button href from #popupform_div to #commentsform_div (or anything else as long as it starts with #comments) and then adapt both the form div ID and the popupform_div style rules that are in the child theme style.css

Hope I explained that clear enough. If not just let me know 🙂