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

Page scroll to id


  • Feb 26, 2021
    • Page scroll to id version 1.6.8 release
    • Removed jQuery 1.x deprecated functions from plugin script (.bind, .delegate, .unbind etc. are replaced with .on, .off etc.).
  • Feb 10, 2021
    • Page scroll to id version 1.6.7 release
    • Added inIframe option parameter.
  • Jan 31, 2021
    • Page scroll to id version 1.6.6 release
    • Fixed issue with special characters in id attribute.
  • Aug 16, 2020
    • Page scroll to id version 1.6.5 release
    • Fixed Uncaught TypeError of undefined data (e.g. when inside an iframe).
  • Jun 17, 2020
    • Page scroll to id version 1.6.4 release
    • Fixed issue with links having encoded unicode characters (e.g. on internationalized domain names) in their href/URL.
  • Oct 1, 2019
    • Page scroll to id version 1.6.3 release
    • Fixed issue with links having meta characters (e.g. %) in URLs.
  • May 29, 2019
    • Page scroll to id version 1.6.2 release
    • Fixed links with full url not highlighting (introduced in previous version).
    • Fixed links with non-latin characters in url not highlighting.
  • May 27, 2019
    • Page scroll to id version 1.6.1 release
    • Fixed dynamic (live) elements issue introduced in previous version. Added excludeSelectors option parameter.
  • May 1, 2019
    • Page scroll to id version 1.6.0 release
    • Fixed highlight not working in URLs with an apostrophe.
  • Oct 1, 2018
    • Page scroll to id version 1.5.9 release
    • Plugin now works with anchors inside SVG elements.
  • May 31, 2017
    • Page scroll to id version 1.5.8 release
    • Fixed a bug regarding links with URL in non-latin characters (e.g. Greek, Cyrillic etc.).
  • Feb 8, 2017
    • Page scroll to id version 1.5.7 release
    • Fixed a bug regarding ps2id-speed-VALUE class.
  • Jan 10, 2017
    • Page scroll to id version 1.5.6 release
    • Changed required jQuery version to 1.7.
    • Added appendHash option parameter.
    • Fixed non-highlighted links with relative-root href values.
    • Added link-specific scrollSpeed value via the ps2id-speed-VALUE class (with VALUE indicating animation duration in milliseconds).
    • Changed scrollSpeed, scrollEasing and scrollingEasing default values.
  • Aug 3, 2016
    • Page scroll to id version 1.5.5 release
    • Added support for jQuery version 3.
    • Added liveSelector option parameter.
  • Oct 7, 2014
    • Page scroll to id version 1.5.4 release
    • Minor code optimizations regarding jQuery selector property.
  • Sep 17, 2014
    • Page scroll to id version 1.5.3 release
    • Added highlightByNextTarget option parameter, which enables defining targets by their position.
    • Added the ability to define targets via the html data attribute: data-ps2id-target.
    • Enabled proper highlighting for dynamic elements.
  • May 19, 2014
    • Page scroll to id version 1.5.2 release
    • forceSingleHighlight option parameter highlights the first highlighted element (instead of last).
    • Extended highlight and target classes with additional ones in order to differentiate the first and last elements: mPS2id-highlight-first mPS2id-highlight-last mPS2id-target-first mPS2id-target-last.
    • Added keepHighlightUntilNext option: Keeps element highlighted until next (one element always stays highlighted).
    • Added disablePluginBelow option: Disables plugin below [width,height] screen size.
  • Jan 15, 2014
    • Page scroll to id version 1.5.1 release
    • Extended offset option to accept element selectors (as string), js/jquery objects, arrays and functions.
    • Added the ability to define link specific offsets via the html data attribute: data-ps2id-offset.
    • Changed plugin license from LGPL to MIT.
  • Jan 3, 2014
    • Page scroll to id version 1.5.0 release
    • Dropped jQuery UI dependency (jQuery UI is no longer required for the plugin to work).
    • Added scrollTo method: Scrolls the page to a given id (defined in the function parameter) programmatically.
    • Fixed the bug of non-working links to other pages. The script now checks if href values refer to the parent document, before preventing the default behavior.
    • Fixed the bug regarding selectors referencing body class not working.
    • Any link handled by the plugin with href value #top will now scroll the page to top, if no element with id top exists.
    • Added links highlighting feature. The script adds a class (default: mPS2id-highlight) automatically on links whose target elements are considered to be within the viewport.
    • Plugin adds a class (default: mPS2id-target) automatically on targets that are considered to be within the viewport.
    • Plugin adds a class (default: mPS2id-clicked) automatically on the link that has been clicked.
    • Added offset option: Offsets scroll-to position by x amount of pixels (positive or negative).
    • Added clickEvents option: Enables/disables click events for all selectors.
    • Added 2 user defined callback functions: onStart (triggers when scrolling animation begins) and onComplete (triggers when scrolling animation is completed).
    • The plugin script now fully validates href values and ids before scrolling the page.
    • Fixed varius minor bugs.
    • Code rewritten and optimized for better performance and maintenance.
  • Feb 9, 2013
    • Page scroll to id version 1.2.0 release
    • Added support for jQuery version 1.9.
  • Sep 3, 2012
    • Page scroll to id version 1.1.0 release
    • Removed the hard-coded plugin directory URL from WordPress plugin file, in order to fix errors of pointing .js files to a wrong location.
  • Jun 4, 2012
  • May 31, 2012
    • Page scroll to id version 1.0.0 release

Plugin home     Project on GitHub


Pages: 1 2 3 4


Post a comment

Comments pages: 1 5 6 7

  1. Jurgen
    Posted on December 21, 2021 at 13:40 Permalink

    Hello Malihu,

    Thanks for this plugin. I can scroll down to the wanted div.
    I was just wondering how I could extend this to check a checkbox when clicking on the link?
    It’s because I scroll down to show some pictures but I want to apply directly a filter by checking a checkbox. Is this possible?

    Thanks in advance.


    • malihu
      Posted on December 21, 2021 at 18:19 Permalink


      Do you use the standalone jQuery plugin or the WordPress plugin?

      You can do what you describe with some extra javascript and using plugin’s onComplete callback function.

      If I could see your site/page I’d be able to provide some code and/or an exact solution.

  2. Yash Ganatra
    Posted on May 27, 2021 at 15:54 Permalink

    Scroll to Id not working for multiple pages

  3. David
    Posted on May 11, 2021 at 16:49 Permalink

    It seems your plug-in does not work on a fresh installation of WordPress in Multisite/MultiDomain mode.
    Activating causes error (blank page with alert).

    I use the plug-in on another site with a standard install and it works as expected.

    Any Idea?

  4. Luke
    Posted on October 27, 2020 at 13:53 Permalink


    I just wanted to let you know, that your Plugin is not compatible with the newest version of the DIVI Theme. The Frontend Divi Builder is not loading when the plugin is active. Since Divi is quite popular I thought this would be interesting to you.

    Thanks for this plugin!

    greetings from Munich

    • malihu
      Posted on October 27, 2020 at 18:57 Permalink


      Can you please post the “Selector(s)” option value you have in plugin settings?

      Also, does plugin version 1.6.8 work (as opposed to the latest 1.6.9)?


    • malihu
      Posted on October 28, 2020 at 14:27 Permalink

      I can confirm that the latest WordPress (5.5.1), latest DIVI theme (4.6.6) and “Page scroll to id” plugin (1.6.9) all work as expected.

      Please check in “Page scroll to id” settings and set the “Selector(s)” option value to:


      Normally, you should also see a warning under the “Selector(s)” option.

      Save changes and test. Let me know.

  5. Rafał
    Posted on October 1, 2020 at 16:36 Permalink

    I am using the jquery version of the plugin and I have a problem with the animation after loading the page when the link comes from another subpage. I do not know how to enable the option so that when I click on the menu link, it will switch me to another subpage and scroll me nicely after loading.

    My code:

    (function($){ $(window).on("load",function(){ /* Page Scroll to id fn call */ $(".subpage__nav a,a[href='#top'],a[rel='m_PageScroll2id']").mPageScroll2id({ highlightSelector:".subpage__nav a", highlightClass:"active", scrollEasing: "easeInOutExpo", offset: 40 }); }); })(jQuery);

    Someone help?

    • malihu
      Posted on October 5, 2020 at 17:53 Permalink

      The jQuery plugin does not support this feature out-of-the-box (e.g. via option). You’ll need to add the following script in your page(s), after jquery.malihu.PageScroll2id.js inclusion:

      <script> (function($){ //scroll to hash on page load _hash=location.hash || null; $(function(){ var href=window.location.href.replace(/#.*$/,"#"); $(window).scrollTop(0); if(window.history && window.history.replaceState){ window.history.replaceState("","",href); }else{ window.location.href=href; } }); $(window).on("load",function(){ $(window).scrollTop(0); var scrollToHashUseElementData=true, linkMatchesHash=$("a._mPS2id-h[href$='"+_hash+"'][data-ps2id-offset]:not([data-ps2id-offset=''])").last(); setTimeout(function(){ if(scrollToHashUseElementData==="true" && linkMatchesHash.length){ linkMatchesHash.trigger("click.mPS2id"); }else{ $.mPageScroll2id("scrollTo",_hash); } if(window.location.href.indexOf("#")!==-1){ if(window.history && window.history.replaceState){ window.history.replaceState("","",_hash); }else{ window.location.hash=_hash; } } },60); }); //----- })(jQuery); </script>

      • Rafał
        Posted on October 6, 2020 at 19:12 Permalink

        Thank you! This work 🙂

  6. Fábio Novais
    Posted on August 5, 2020 at 00:59 Permalink

    Hi there!
    Is there a way to change the target scrollable element? I mean, the default element is body or document, I´m not sure. What if I need to set some different elemento do watch for scroll event?

  7. Shahzad
    Posted on June 16, 2020 at 20:00 Permalink

    Hope you are doing good. Can you please let me know how you have created/used plugin for the menu you have used in the demo? That section1, section2.. demo. I love that menu and wana use it in the middle of my page before some sections but unable to find how to make exact same menu/buttons. Can you help please? otherwise no issues at all 🙂

  8. S
    Posted on May 11, 2020 at 12:11 Permalink

    I would like to ask a question, when I click on a link in the navigation, and then scroll the page, and the link just clicked has a class “mPS2id-clicked” that has not been removed, how can I fix this bug?

    • malihu
      Posted on May 11, 2020 at 19:01 Permalink


      This is not a bug, it’s a feature. The last clicked link gets the class mPS2id-clicked, all links within the viewport get the class mPS2id-highlight etc. Why would you want to remove it?

  9. ddinhaha
    Posted on May 4, 2020 at 12:52 Permalink

    Thank you!

  10. Jibran
    Posted on May 3, 2020 at 23:03 Permalink

    So, I implemented this with WP Bakery Page Builder

    But it’s working on the tabs as well, even when I used your selectors mentioned in the article.

    To view this issue:

    Head over to and click on SIMPLE TO USE
    Head over to and click on ADVANCED STATISTICS

    You will notice the behavior.

    let me know how to solve this.

    • malihu
      Posted on May 4, 2020 at 01:34 Permalink


      I checked your pages and “Page scroll to id” plugin is not activated/used. Let me know when you activate it.

      • Jibran
        Posted on May 5, 2020 at 02:53 Permalink

        Yeah, I had to deactivate it because of the above-mentioned issue.
        Please check now.

        • malihu
          Posted on May 5, 2020 at 14:48 Permalink

          Go to “Page scroll to id” settings and add:

          , .tab > a

          at the end of the “selectors are excluded” field. Just copy the value above and paste it at the end, right after a.screen-reader-text.skip-link

          Click save changes, test your page and let me know

  11. ainatte
    Posted on May 2, 2020 at 18:17 Permalink

    I’m a beginner trying to use your plugin with elementor on page load. I inserted an html code in a section at the top of the page with this code: <script> jQuery(window).on("load",function(){ jQuery.mPageScroll2id("scrollTo","#productbox"); </script>

    I have an anchor labeled “productbox”
    i was hoping the page would scroll onload.
    any idea what I’m doing wrong?


    • malihu
      Posted on May 3, 2020 at 10:46 Permalink


      It depends where you placed the code. In WordPress, you should place the code in your theme/child-theme footer.php, just before the closing body tag (</body>).

      Also, the code you posted doesn’t seem correct(?) Change the code to:

      <script> (function($){ $(window).on("load",function(){ $.mPageScroll2id("scrollTo","#productbox"); }); })(jQuery); </script>

      Let me know if it works

  12. Gerhard
    Posted on April 29, 2020 at 09:39 Permalink

    Great Plugin, it worked really well until a couple of days ago. Meanwhile I get the following meassage in my WB theme when your plugin is activated.

    Deprecated: contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead. in /var/www/ on line 5088

    Could you please give me some advice how I can handle this error message.
    Best regards

    • malihu
      Posted on April 29, 2020 at 22:20 Permalink


      This message is a simple notice. It’s not an error and it does not affect plugin’s functionality or performance in any way (you see this message because you have enabled debug constant in wp-config.php).

      This said, the deprecated message will be fixed in plugin’s next version (you can get it now in plugin’s development if you want).

      The message appears on admin pages (not on the frontend), right?

      When you say “it worked really well until a couple of days ago” you mean it doesn’t work now or you’re just talking about the backend message?

  13. James
    Posted on April 28, 2020 at 20:46 Permalink

    Hi there Manos

    Thanks again for answering my last queries – really helpful.

    I was wondering if it is possible somehow to use the highlight option on a link to another page rather than an intrapage link?

    I have a fixed ul in the sidebar of a page -the page contains a number of thumbnail illustrations. What I would like is for the relevant li to highlight as its corresponding illustration scrolls into view. But as I say, the link in the list is to another page, not to the illustration.

    I hope that makes sense and thanks for your help.


    • malihu
      Posted on April 29, 2020 at 22:13 Permalink

      I can’t really say unless I see your page. If your thumbnails are actual links maybe but I have no idea without seeing your page and code.

    • malihu
      Posted on April 30, 2020 at 02:09 Permalink

      I see. No, you can’t really do this.

      You’d need to develop a completely custom script for such behavior.

      • James
        Posted on April 30, 2020 at 14:19 Permalink

        Ok – I thought that might be the case – but I really appreciate you taking a look – thank you.

        All best wishes,


  14. James
    Posted on April 2, 2020 at 15:51 Permalink

    Is it possible for the page to auto-scroll to an id a few seconds after page load?

    • malihu
      Posted on April 3, 2020 at 09:31 Permalink

      You’ll need to add a custom js script in your page that will use plugin’s scrollTo method.

      For example:

      <script> (function($){ $(window).on("load",function(){ setTimeout(function(){ $.mPageScroll2id("scrollTo","#your-id"); }, 4000); }); })(jQuery); </script>

      • James
        Posted on April 3, 2020 at 15:33 Permalink

        Thanks – that works great. How can I incorporate an offset into that?

        • malihu
          Posted on April 4, 2020 at 08:50 Permalink

          See plugin method on the link I posted above. You use the offset option parameter:

          <script> (function($){ $(window).on("load",function(){ setTimeout(function(){ $.mPageScroll2id("scrollTo","#your-id",{ offset: 100 }); }, 4000); }); })(jQuery); </script>

          • James
            Posted on April 6, 2020 at 10:55 Permalink

            Thank you – I should have worked that out. 🙂

  15. Dietmar Heiser
    Posted on April 1, 2020 at 02:06 Permalink

    i’m using your wonderful plugin since 2016. Recently I saw, that the plugin isn’t working anymore on my site. I can’t say for how long. It’s the newest version running on WordPress 5.2.4.
    Its a german website. You have to follow these menus items to get there. “Angebot” then “Preise”. Now you see the menu on the right.
    Regardless which item you click the page will scroll to the top instead to the id.

    • malihu
      Posted on April 1, 2020 at 10:47 Permalink


      Your HTML code has the following error:

      It has a js script (as well as 2 empty lines) before the <!doctype html> tag. I don’t know why or how this script got in your template but it’s invalid.

      If you remove it, everything will work. Let me know 🙂

      • Dietmar Heiser
        Posted on April 1, 2020 at 18:56 Permalink

        Thank you very much!
        That code was incorrect. It should force a iframe to reload, but indeed it’s faulty.


  16. Zoran
    Posted on March 23, 2020 at 01:25 Permalink

    I wanted to ask, if there is some trick when visiting page from url demo-all-options.html#section-7 to have smooth scrool till section-7 rather then goes direct there without any anumation?

    Thanks in advance. All best.

    • malihu
      Posted on March 23, 2020 at 02:51 Permalink


      Can you elaborate a bit more on what you need? Can you give an example?

  17. Danny
    Posted on February 7, 2020 at 15:26 Permalink

    Hello, i have a question about callbacks, could You provide me an example of adding class to body when for example second section is loaded/active ?
    How can i target specific section ?

    I suppose it should be something like this:
    onComplete:function(){ if( === 1){ $("body").addClass('test'); } }

    Thank you very much in advance.

    • Danny
      Posted on February 7, 2020 at 15:46 Permalink

      What im trying to achieve is that body class is changing with sections, so when section is active body class will have class name same as id of active section.

    • malihu
      Posted on February 7, 2020 at 23:34 Permalink

      Something like this should work:

      onComplete:function(){ var currentID ="id"), //get current section id classToAdd, //class(es) to add variable classToRemove; //class(es) to remove variable //set the class according to current section id switch(currentID) { //change "my-id-1", "my-id-2" etc. to your section classes case "my-id-1": //if current section id is my-id-1 classToAdd = "my-id-1"; //then add the class my-id-1 to the body classToRemove = "my-id-2 my-id-3 my-id-4"; //and remove the other non-current sections classes break; case "my-id-2": classToAdd = "my-id-2"; classToRemove = "my-id-1 my-id-3 my-id-4"; break; case "my-id-3": classToAdd = "my-id-3"; classToRemove = "my-id-1 my-id-2 my-id-4"; break; case "my-id-4": classToAdd = "my-id-4"; classToRemove = "my-id-1 my-id-2 my-id-3"; break; } //add/remove class(es) to body $("body").removeClass(classToRemove).addClass(classToAdd); }

      Let me know if it helps

      EDIT: Added the missing break

      • Danny
        Posted on February 10, 2020 at 14:26 Permalink

        I’ve added break’s to other cases and it works like a charm.

        Thank You for Your help.

        • malihu
          Posted on February 13, 2020 at 22:03 Permalink

          Ah yes, I missed this!

  18. Mark
    Posted on November 8, 2019 at 04:35 Permalink

    First and foremost thank you for this wonderful plugin.

    For the links to work for the hamburger menu links on a one-page site, I cannot use ‘#link’ but must use a full path ‘’.

    But that ruins the smooth scrolling effect.

    Here’s what happens:

    The page loads ‘’
    then hops back to the top of the page:
    ‘’, after which it loads:

    Is there something I can do to get the instant scrolling effect back that I get with ‘#presse’.

    Thank you either way for your great plugin and help,


  19. haim
    Posted on October 29, 2019 at 15:53 Permalink

    Thanks for your amazing plugin.

    Sometimes the “Scroll from/to different pages (i.e. scroll to target when page loads)” works, and sometimes not.

    It’s hppaning in the same website:
    Working –
    Not working –

    I’d glad to know what should I do to fix it. I want it to work in all pages.

    • malihu
      Posted on October 29, 2019 at 18:27 Permalink


      On the page, the s8 target element exists and that’s why it works.

      On the page, there’s no s8 target element, so it doesn’t work.

      These are different pages, so you need to also add the s8 id on the /solutions/ page.

      Let me know

      • Haim
        Posted on October 30, 2019 at 17:10 Permalink

        Thanks, you were right.

        But what about here?

        Here all the sections have a different ID, and yet it didn’t scroll to them when loading the page

        • malihu
          Posted on October 31, 2019 at 01:29 Permalink

          No problem.

          In the page you posted there are few elementor links with custom actions that conflict with the plugin.

          Try this:

          Go to “Page scroll to id” settings and add the following at the end of the selectors are excluded field (just copy/paste the code below including the comma and space at the beginning):

          , #elementor-action

          Save changes and test your page.

        • malihu
          Posted on November 11, 2019 at 16:17 Permalink

          Ah sorry, I posted the wrong selector! Change it to this:

          , a[href*='#elementor-action']

          Save changes and test. Let me know if it worked 🙂

          • Haim
            Posted on December 2, 2019 at 17:13 Permalink

            Thanks! You’re great.

            now it’s opening the page at the right section, but it’s not scrolling down to it.
            I’d love to get a fix for it, but it’s not urgent, take your time.

            Thanks again!

    • malihu
      Posted on December 9, 2019 at 14:38 Permalink

      You have an error in the selectors are excluded field. There are 2 commas there. Change the value at the end from:

      , , a[href*='#elementor-action']


      , a[href*='#elementor-action']

  20. Yaroslav
    Posted on October 20, 2019 at 09:18 Permalink

    Hello Malihu!

    Thank you for developing Page scroll to 2id plugin, it’s great to use it.

    My question:

    I have installed JinvertScroll script on WordPress website for a horizontal scrolling and also installed Page scroll to 2id plugin with a “Prevent other scripts from handling plugin’s links” and “auto” orientation adjustments but now i have a problem with scrolling to my Page scroll to 2id sectors: after clicking the button the screen moves only for a very little to the right but not to the Page scroll to 2id sector that i need and adjusted. PS: when i deleted JinvertScroll script all began work as normal but the page became as a vertical but not a horizontal orientation. I read some your answers here so maybe the problem with CSS. Also i implemented your script with only mouse wheel scrolling effect but the situation was the same: screen only moved to one direction to the right but not back by mouse wheel.

    Can you give a useful advices what to do? Thank you in advance!

    • malihu
      Posted on October 20, 2019 at 21:31 Permalink


      I need to see your page/site in order to help with such issues.

      That said, “Page scroll to id” does not convert a page’s template design from vertical to horizontal (and vice versa). By using the horizontal or auto layout in plugin settings, you simply instruct the plugin the direction it should scroll (but your page should already have a horizontal design/layout).

      Also, the plugin does not scroll overflowed divs. It works strictly on document’s root element (html/body).

      I’m not sure if any of the above is the issue. If you can post your page/site URL, I’ll be able to check it and help if I can.

  21. Koru Ux Design
    Posted on September 4, 2019 at 10:17 Permalink

    This is really valuable information and very practical to get done.

    Is there any resource for the new updates as well?

    Thank you!

  22. Stijn
    Posted on July 8, 2019 at 14:07 Permalink


    I’m using the scroll to id and custom scrollbar plugin. It works well, but I can’t find out how I can set the highlightClass on scroll and on click

  23. MarkR
    Posted on June 20, 2019 at 01:51 Permalink

    I have your mCustomScrollBar and m_PageScroll2id plugins installed on a page that jumps to IDs like this:

    <a href="#bkmk11" class="web_address" style="text-decoration: none" rel"m_PageScroll2id">How does this work?</a><br>

    that jumps to IDs like this:

    <div class="h1_info" id="bkmk11"><b>How does this work</b></div><br>

    But when it gets there, the scrollbar disappears. If I try to scroll with the mouse wheel, the cursor jumps back to the top and the scrollbar reappears.

    You show a callback that will return the scrollTo.y property but that only returns the position; it doesn’t allow me to mouse from there.

    function myCustomFn2(){ console.log(mPS2id.scrollTo.y);}

    I need to update the mouse position but your code doesn’t show how to do that. I really hope you can help with this. Both plugins are great!

    I am going to credit you on my website when it goes live in two weeks. The site has a very innovative design. PLEASE HELP.



    • malihu
      Posted on June 20, 2019 at 09:53 Permalink

      The 2 plugins are not compatible. They don’t work together as “Page scroll to id” works only with browser’s native scrollbar.

      Javascript scrollbars (like mCustomScrollBar) have their own methods for scrolling the page. You can see the method here and a related guide here.

  24. Mark
    Posted on June 14, 2019 at 09:39 Permalink
    • malihu
      Posted on June 15, 2019 at 03:07 Permalink

      The plugin works strictly on anchor elements (i.e. links) with a valid href/URL attribute.

      The only way to do it on a div, would be via javascript, e.g. by using plugin’s scrollTo method to scroll to the target element when the div is clicked. For this you’d need to add a custom js script in your template.

  25. Akro Web
    Posted on May 29, 2019 at 11:55 Permalink

    Navigation blocked

    I have several sites that use your plugin.
    I just noticed that since this morning, your plugin has been blocking my sites:
    – links/menus no longer work
    – my browser tells me: “A web page slows down your browser. What do you want to do?”

    We can no longer browse the sites and they are therefore inaccessible.
    I disabled the plugin, the problem is solved but of course the “scroll” function no longer works.

    Do you know what the problem is.

    I have the latest updates of wordpress and my plugins.

    Thank you.

    Sorry about my English, I’m French.

    Thank you.

  26. giuse
    Posted on May 25, 2019 at 11:30 Permalink


    with the plugin update I got an issue

    with version 1.6.5
    link with href like are no longer underlined, while they were with 1.6.4
    link with href like #id are still underlined, as they were with 1.6.4

    • malihu
      Posted on May 25, 2019 at 12:10 Permalink

      This sounds like a css issue. If you post your site url, I’ll be able to check what happens and help.

      • giuse
        Posted on May 27, 2019 at 09:01 Permalink


        this is the page that does not work anymore with 1.6.5

        • malihu
          Posted on May 27, 2019 at 13:47 Permalink

          It seems you’re using the “Q2W3 Fixed Widget” plugin, right?
          Did you update the Q2W3 plugin too or change its settings?

          Please check the following thread and see if changing the Q2W3 plugin options mentioned, fixes the issue:

          • giuse
            Posted on May 28, 2019 at 08:19 Permalink


            I have Q2W3 5.1.9, the latest available.

            The thread is about Q2W3 not working, in my case is page-scroll-to-id that does not work as expected. Any case I tried to do what suggested in thread, but it doen not work.

    • malihu
      Posted on May 27, 2019 at 19:26 Permalink

      Hello again,

      I think the issue you’re having might be related to an issue in version 1.6.5.

      I’ve pushed a fix for this issue in plugin’s development version:

      Please replace version 1.6.5 with the one above and check if the issue is fixed.

      Let me know

  27. Klaus Meschir
    Posted on May 24, 2019 at 08:59 Permalink


    i’m test your plugin for this website, but I have a problem. When I click the link in menu once, it scrolls to the anchor but it work only at the first time. The menu-link is deactivated after clicking.
    I changed in the settings “Allow only one highlighted element at a time”, “Keep the current element highlighted until the next one comes into view” and “Highlight by next target2 on and off but this has no effect for my problem. I use the WPBakery Plugin.

    Thanks for your help.

    • malihu
      Posted on May 24, 2019 at 13:24 Permalink


      The problem you have does not come from “Page scroll to id”. It comes from your theme’s internal function for scrolling the page. The 2 scripts that do this are:


      Try this:

      Go to “Page scroll to id” settings and enable/check “Prevent other scripts from handling plugin’s links” option. Save changes and test your page.

      If this doesn’t work, you’ll need to see if there’s an option in your theme settings to disable page smooth scrolling for same-page links.

      Let me know

      • Klaus Meschir
        Posted on May 27, 2019 at 11:29 Permalink


        i try check “Prevent other scripts…” and deactivate the “back to top”-function in theme but the problem is the same.

        Thanks for your reply.

        • malihu
          Posted on May 27, 2019 at 13:54 Permalink

          In plugin settings, enable “Append the clicked link’s hash value to browser’s URL/address bar” option. Save changes and test again.

          • Klaus Meschir
            Posted on May 28, 2019 at 15:48 Permalink


            that’s is the Solution. After checking this option i can jump between the anchors.

            Thanks for your help.

  28. Tomas Risberg
    Posted on May 22, 2019 at 21:22 Permalink


    After updating to Page scroll to id version 1.6.5 it scrolls too fast, and doesn’t stop the scrolling were it should stop it.

    This page illustrates the problem:

    Click on for example [1] and you see what happens.

    • malihu
      Posted on May 22, 2019 at 21:36 Permalink


      Did you installed another plugin, e.g. auto-optimize?

      • Tomas Risberg
        Posted on May 22, 2019 at 23:19 Permalink

        Thanks for your reply. Yes, at the same time as updating Page scroll to id I updated Autoptimize, WP Rocket and WordPress.

        • malihu
          Posted on May 23, 2019 at 02:47 Permalink

          Can you flush/clear your site cache (wp rocket)?

          • Tomas Risberg
            Posted on May 23, 2019 at 07:46 Permalink

            I have deleted the cache of Autoptimize and flushed the cache of WP Rocket. The problem remains.

Comments pages: 1 5 6 7

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>