Site logo

Archived topic

Links

5 replies · Started by Michael on March 17, 2022

Viewing posts 1–6 of 6

How can I link to a specific part of a page (assuming I can)?

Thanks,

Michael

Hi Michael,

Yes, this is definitely doable.

To achieve it, you may utilize the HTML anchor of a Block.

See: https://share.getcloudapp.com/d5u9eLq5

In my example, I set the Block’s HTML anchor as test-anchor.

Now, I can use this anchor as such:

https://share.getcloudapp.com/6quZLml0

https://share.getcloudapp.com/z8uLnDeb

Specifically, you can make a button or a menu item with link #test-anchor or https://fazarcon.pluginsupportwp.com/generate-blocks-test-page/#test-anchor

Kindly replace https://fazarcon.pluginsupportwp.com/generate-blocks-test-page with the link of your site. :)

Here it is working from my end: https://share.getcloudapp.com/yAuKLGEj

Once your accustomed to HTML anchors, a more advanced functionality you may also have interest in is smooth scrolling: https://docs.generatepress.com/article/smooth-scroll/

Hope this helps! Feel free to reach out if you’ll need further assistance. :)

Great, manythanks,

Michael

You’re welcome Michael! Glad to be of assistance! Feel free to reach out anytime if you’ll need assistance with anything else. :)

Thanks a lot Fernando the visual demonstration was extremely helpful

You’re welcome O’Shai! Glad this was able to help you as well! :)

This archived topic is closed to new replies.