[SOLVED] Link to scroll to target on other page

Guys, I’ve created galleries using Swiper. I’ve made bloc on my website that has pictures of galleries with current projects. After clicking in one of them you are redirected to other page with Swiper on full screen. When you want to close gallery you are redirected to the top of the main page. Is there an option to be directed to the specific place (bloc with list of galleries) in main page using url link or something else?

https://www.weaverskingdom.com/brics/swiper/index.html

Not familiar with the bloc sorry. But the developer page mentions “Close button with URL” So my guess is you can use standard targeting ID’s with that? suffix the URL with # and then the DIV ID

eg. mywebsite.com/link#targetID

1 Like

Sounds great. I will test it.

Or this maybe will work:

./index.html#targetID

“index” of course must be changed to the right page

2 Likes