Blog, Website & Page Publishing

ARothberg
Participant

Setting the id of HTML Element for Landing Page

SOLVE

I would like to set the `id` of an HTML element on my landing page so that I can then have links elsewhere in the page link to a given section. e.g.  I would like to set the `id` of the heading above the lead capture form and then have a button on the bottom of the page that when clicked scrolls the user to that section.

 

It looks like some of the templates have an id initially set on some head text, but I don't see a way to change either the id or set it on new text elements.

0 Upvotes
1 Accepted solution
Jake_Lett
Solution
Guide | Partner
Guide | Partner

Setting the id of HTML Element for Landing Page

SOLVE

Hello. If your heading is in a rich text you coud add an anchor. Or you can add one above your header and just use it to add this anchor.

 

Here is a guide on how to do that.

https://knowledge.hubspot.com/website-pages/insert-and-manage-anchor-links

View solution in original post

0 Upvotes
1 Reply 1
Jake_Lett
Solution
Guide | Partner
Guide | Partner

Setting the id of HTML Element for Landing Page

SOLVE

Hello. If your heading is in a rich text you coud add an anchor. Or you can add one above your header and just use it to add this anchor.

 

Here is a guide on how to do that.

https://knowledge.hubspot.com/website-pages/insert-and-manage-anchor-links

0 Upvotes