Thanks a lot for the suggestions, Elliott and Andy.
Unfortunately none of these solve the problem.
I had already tried it without ‘win.scrollTop(0);’ before, nothing changes.
And changing the helper-main-menu.php file doesn’t help either. In addition I tried it with href=”javascript:void(0);” and a few other things, nothing changes and I’m always taken to the top of the page before the menu opens.
It seems like the # anchor isn’t the problem here.
Do you have any other suggestions?
Thanks!