Hello everyone, for a website I want to use anchor links, I use Elementor. However, they don’t work as they should. If I use a button with the # and the tag and you click on it it sends you to the top of the page/ it doesn’t work at all. If I put a slug, for example ‘/home/#certificates’ in front of it, it works, but then it doesn’t immediately sprint to it, but it takes a long time to load because it thinks it goes to another page.
I’ve scoured the internet but can’t find a working solution. Does anyone know how I can fix this? It does not work on any page of the site.
(update: however, have come that every link you click on, the website url is thrown in front of it. Maybe that’s the cause. Anyone have an idea how to fix that?)
[ad_2]
***/home/#certificates***
​
This is the wrong format for anchors. This should, instead, read as /home#certificates.
Stupid question but you did put the corresponding ID names on the section you want to jump to right?
<a href=”#section”>Click me</a>
<div id=”section”>This is where I want to jump to</div>