Confusion About How Anchor Links Work in Divhunt

I have noticed that when you use anchor links in Divhunt, the #anchor-id does not appear in the URL as I usually expect to see. I think this is affecting something I am trying to do with linking to specific slides in a carsousel using anchor links… It’s hard to explain exactly what the issue and question is by typing without showing so I made a video that is super clear I think, so please see the video:

Screen Recording - Question About Anchor Links

Can you offer any insight as to what is going on here?

Currently with our native scroll to anchor, we don’t add hash on top, we just directly scroll to the bottom.

What you can try is to add JavaScript that will do that on it’s own.

It should look something like this:

    $(".myAnchorButton").click(function(event) {
        event.preventDefault(); 
        owl.trigger('to.owl.carousel', [$(this).index()]); 
    });

If you know JavaScript I believe you can figure it out, if not, you can let me know, and I can do it for you.

Thanks for the response @Pakic, understood. I do not know Javascript, but am seriously considering that I should sit my ass down and learn. But in the meantime and because that will take a while, if you could help me out with a specific copy-pastable script, that would be more than awesome :muscle: