I am trying to use an <a href> link with a hashtag in it. As soon as I put a hashtag in, the link no longer works. If I change the template from the GK News 2 to another one it works, so it is something that the template is doing. Any idea how to fix it?

If I do this in a simple html file then both links work: https://www.signupdate.co.uk/test-hashtags.html

But if I embed the same code in a joomla article, then the first link doesn't do anything, despite the fact that when you hover over it, you can see that it appears to be a link - as you can see here: https://www.signupdate.co.uk/Sign-News/test

Thanks in advance.

    martin691 Hi. Template has a smooth-scroll function implemented. If hash is recognised it looks for a layer with an ID of this hashtag, You can use this functionality or edit template's /js/gk.scripts.js file and remove function related to smoothScroll.

    Thanks, I have now disabled smooth scroll, and this has fixed it.

      Write a Reply...
      You need to Login to view replies.