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

    (@takanakui)

    Hi @dekadinious,

    This seems a issue or with theme or any other plugin because when I clicked in the cookie buton it happened the same.

    So it seems to be a generic thing that in any click the page scrolls to the top.

    Try to disable all plugins except WP Mobile Menu, if it still does the same then the problem is from the theme.

    If not then it’s another plugin, try to activate them again one by one or several at each time and keep testing to figure out the problematic plugin.

    Let me know the result.

    Thread Starter Dekadinious

    (@dekadinious)

    I had a smooth scrolling script running, with this variable

    var scroll = new SmoothScroll('a[href*="#"]');

    I had to change it to

    var scroll = new SmoothScroll('a[href*="#"]:not([href$="#"])');

    Now it works like a charm ??

    Plugin Author Rui Guerreiro

    (@takanakui)

    Great. I’m glad it’s sorted.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Page scrolls to top when clicking menu icon’ is closed to new replies.