Anchor link to another page-section jumps to top instead
Hi,
I have tried almost everything now, and I'm getting pretty desperate.
Whenever I create an anchor link, linking to another page section's ID, within the same domain, it show the section for a glimpse of a second and then jumps to the top - not scrolling, but jumping.
whether its an a-tag or within a button, it does the same thing.
I have tried giving the ID to h-tags, p-tags and even span and divs within the section I try to link to. I suppose it should work by giving the ID to the section within the muffinbuilder frame, but that doesn't work either.
And I have enabled the "onepage" function in the muffinbuilder options - no use.
I have also tried to give the links going out the class of scroll - no use.
Do you have an idea without searching through the website? (It's not online yet, because I'm still working on it)
Best regards, Peter Rosendahl
Comments
Hello,
Please, try to put the whole the page name first and after that anchor link.
It should look like this: /page/#anchor
Thanks
That's exactly how I've written the link. I've also tried without the slash, just in case. But none of it works. I've even tried different ID's but still the same quick flash, and then jump to top.
Please always attach a link to your website so we can check it out. If the page is offline(localhost) then our help will be limited, you will have to contact us when the page is online. Also please make sure that the page is not under maintenance before you provide us the link.
Also, please, update the Betheme to the newest version because it fix some issues with anchor links.
Thanks
THANK YOU!!!!
The update worked like a charm. So sorry for taking your time for such a silly mistake. Everything works now!