Blog, Website & Page Publishing

ARothberg
Teilnehmer/-in

Setting the id of HTML Element for Landing Page

lösung

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 Akzeptierte Lösung
Jake_Lett
Lösung
Ratgeber/-in | Partner
Ratgeber/-in | Partner

Setting the id of HTML Element for Landing Page

lösung

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

Lösung in ursprünglichem Beitrag anzeigen

0 Upvotes
1 Antwort
Jake_Lett
Lösung
Ratgeber/-in | Partner
Ratgeber/-in | Partner

Setting the id of HTML Element for Landing Page

lösung

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