Remove Hashes In URL For Smooth Scroll? - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Remove Hashes In URL For Smooth Scroll?

B

blue_Shift

Helix Framework 3 years ago

I have a late-beta staging site getting close to production. The one page menu I've built adds a hash to the URL - is there a way to prevent this? It never goes away. (Link in the hidden section.)

HelixUltimate 2.0.5 Joomla 4.0.4 PHP 8.013

0
2 Answers
Pavel
Pavel
Accepted Answer
3 years ago #45897

Hi. It works so. You cannot prevent it if you use anchor links.

If you want to get rid of # you need to write your own menu on JavaScript or jQuery that will track the number of pixels to the item and scroll to it on click, without using anchor links.

Look for a solution on Stack Overflow

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 years ago #45907

Hi

You can follow Pavels instructions

-Regards

0