Site logo

Archived topic

Anchor Link to Footer

1 reply · Started by Jamie on June 26, 2018

Viewing posts 1–2 of 2

Hi, I want to create an anchor link to snap to my footer. I have my contact form in the footer so it's on every page. If I can just do an anchor link to it, it will save having to load a different page.

Hi Jamie,

the form has an id of gform_2
So for a navigation menu link you could add a Custom Link menu item and just add this URL #gform_2

If you want it as a link on the page then you can add it to the href:

<a href="#gform_2">My Link</a>

You could turn that into a button to match the GP Customiser settings with the button class like:

<a class="button" href="#gform_2">My Link</a>

This archived topic is closed to new replies.