This website uses cookies to personalise ads and to analyse traffic ok
web design

Page scroll to id for WordPress

 

Knowledge Base – FAQ

Topics: General WordPress Menu Links highlighting Links Targets Page scrolling Offset jQuery/Javascript

 

Pages: 1 2


378 Comments

Post a comment

Comments pages: 1 3 4 5

  1. LAtelier
    Posted on January 18, 2019 at 22:36 Permalink

    Hi there! Your plugin is pretty awesome, thank you! I am suing it with a super simple theme called Blankslate and with WP Bakery Page Builder. There isn’t any other plugin installed.

    One problem I have is with Microsoft Edge and on mobile: when the plugin is activated, the anchor links created with WPBakery Page Builder on the same page are not working. So for example if I have a Get Started button at the top which is supposed to scroll to the bottom of the page, it works on Chrome and Firefox but not on Edge and not on mobile. When I disable your plugin, the link works and “jumps” to the bottom section on both mobile and Edge. So that means the conflict is between your plugin and Page Builder probably. Can you try on your end and let me know if you are encountering the same issue?

    Let me know! Thank you for your time!

    Reply
    • malihu
      Posted on January 20, 2019 at 19:27 Permalink

      Hello,

      I haven’t encountered this problem with WPBakery Page Builder.

      The issue you describe might happen for any number of reasons. I can’t really know where the “Get Started” button links to and how exactly it works.

      Is it possible to post your page/site url so I can check what happens?

      If not, you can try changing plugin’s selector (“Selector(s)” option in plugin settings) so it doesn’t handle this particular link. For example, changing the “Selector(s)” option to:

      .menu-item a

      instructs “Page scroll to id” to handle only the links in your menu(s).

      You could also try enabling the “Prevent other scripts from handling plugin’s links” option and see if it fixes the issue.

      In general, “Page scroll to id” is browser agnostic. If it works in one browser, it should work on every browser but sometimes other scripts might also handle the links which might cause an issue. I’d need to see your page in order to see what exactly happens and help.

      Also, check this guide as it might help:
      http://manos.malihu.gr/using-page-scroll-to-id-with-wpbakery-page-builder/

      Reply

Comments pages: 1 3 4 5

Post a comment

Your e-mail is never published nor shared. Required fields are marked *

You may use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
You can write or copy/paste code directly in your comment using the <code> tag:
<code>code here...</code>
You may also use the data-lang attribute to determine the code language like so:
<code data-lang-html>, <code data-lang-css>, <code data-lang-js> and <code data-lang-php>

css.php