Hi,
I’ve got an essential grid set up where each item links to an anchor tag that is attributed to different modal content depending on which ess grid item is clicked.
This works well, however I am left with the anchor tag after the URL after I exit the modal so I cannot click back into the same item after closing, plus it looks kind of clunky. Is there any way I can keep this functionality but but not have the #xyz in the URL after the modal has been opened or even removing it on closing the modal?
This solution was so close to solving my problem, but since it is the same element class name being triggered each time I can’t use this for more than 1 grid item: Properly remove anchor tag when closing modal content area
The page I am working on is: https://davesdesign.com.au/portfolio-v3/
You can see an example of the issue when you click on a portfolio item then exit, then try click back into the same item.
I appreciate your help!
Cheers,
David