Site logo

Archived topic

HTML anchor button header element

3 replies · Started by Renske on February 13, 2022

Viewing posts 1–4 of 4

Hi there,

I want the button in my header element for my homepage to link to a specific section on the samepage. I know how to do this with html anchors, but how do I create a html anchor I can use in an element? See short video in private info for clarification.

Thanks!

Hi there,

1. Select the Block that you want the anchor link to jump to eg. a GB Container Block
1.1 In Advacnced > HTML Anchor add a unique id eg. my-section

2. In your header element we create an anchor link using this HTML:

<a class="button" href="#my-section">Your button text</a>

So whatever HTML anchor you used eg. my-section you prefix it with a # in your ahref ie. #my-section

Thanks David! :)

You're welcome!

This archived topic is closed to new replies.