• Resolved totaliweb

    (@totaliweb)


    Hello,

    Hello I have a very strange problems with your plugin. Can you please help me solve this problem? It seems your plugin is not very compatible with the website https://www.inventurinq.com/

    If you try, only the first scroll works fine (Propositie) but all the others don’t work, the scroll goes down too far by going to the next section and then back up. I’ve tried every way by following all your documentation. I only get this problem with your plugin active.

    I also activated the “Prevent other scripts from handling plugin’s links (if possible)” function because if I leave this function deactivated, the first scroll also works badly like the others. Instead by activating this function, at least the first scroll works as well as it should. Can you take a look please and tell me how I can fix it?

    Thanks a lot

    Kind regards

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

    (@malihu)

    Hi,

    It seems that your theme has its own scrolling functionality which prevents “Page scroll to id” from doing its thing. The script that does this is this one:

    ...wp-content/uploads/us-assets/www.inventurinq.com.js

    Try going to “Page scroll to id” settings and set the “Prevent other scripts from handling plugin’s links selector(s)” option field to:

    .menu-item a[href*='#']:not([href='#'])

    Save changes, test and let me know.

    Thread Starter totaliweb

    (@totaliweb)

    Hello,

    thanks a lot for reply, i really appreciate it.

    Unfortunately it doesn’t seem to work. Is there no other way to make it work? It seems strange that this is the case.

    Plugin Author malihu

    (@malihu)

    Yeah, it happens sometimes with some themes.

    I checked the code and the only way to deal with this is to manually edit the js file (www.inventurinq.com.js). Not sure if your want/can do this?

    You could also try adding an extra js script in your template which might work without the need to edit the js file:

    <script>
    (function($){
    	$(window).on("load",function(){
    		$(".menu-item a[href*='#']:not([href='#'])").each(function(){
    			$(this).off("click");
    		});
    	});
    })(jQuery);
    </script>

    The script above should be placed in your theme/child-theme footer.php template, right before the closing body tag (</body>);

    Let me know

    Thread Starter totaliweb

    (@totaliweb)

    Thanks a lot, now it works fine. I added the code you wrote me and made an edit to the theme JS file as per your suggestion, and then it worked.

    I really appreciate your help, you are a real expert as I like it. I’m developer too and so I appreciate you a lot.

    Have great day malihu.

    Plugin Author malihu

    (@malihu)

    Awesome! Glad I helped ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Incompatibility problems with wpbakery. The scroll goes down and up on its own’ is closed to new replies.