On page reference without hash in address

Not sure why, but on an older x-theme template, when having on page references (i.e. GO THERE ) would take the visitor to the

GO HERE
without adding the hash to the addressbar.
But on the most current version of x-theme (7.1.2), clicking any button with a reference to the same page adds the hash (#) to the addressbar (the URL), i.e. somedomain.com/page becomes somedomain.com/page#someref when pressing the button on the same page. This is not a link to another page, I would understand the behavior if I was going from somedomain.com/page to somedomain.com/someotherpage#someotherref, but this is on the same page.

I would like to know if this is a change in the theme behavior, a setting somewhere or a bug :man_shrugging:

Hi @deltagym,

Thank you for your feedback, that’s actually intentional, It has been introduced due to customers request. It actually replicates the normal behavior of the browser which is beneficial to other users, will keep the scrolling feature close to what browser’s do natively.

Cheers!

Thanks for the reply. Just a thought, shouldn’t this be an option somewhere? Personally I’ve never been a fan of the hash showing up in the URL for some page navigation. Now I have to had code to revert to something that was there before.

Yes, you got a point, I have added this as a feature request option to append or not to append the hashtag ID for One-page navigation. All of these requests are discussed with our team internally and prioritized based on the amount of interest a particular feature might receive, and please keep in mind that our Dev Team needs to consider a lot of things, implementing a new feature is not easy as it may sound.

Have a nice day,
Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.