Blog, Website & Page Publishing

ARothberg
Participante

Setting the id of HTML Element for Landing Page

resolver

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 Me gusta
1 Soluciones aceptada
Jake_Lett
Solución
Guía | Partner
Guía | Partner

Setting the id of HTML Element for Landing Page

resolver

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

Ver la solución en mensaje original publicado

0 Me gusta
1 Respuesta 1
Jake_Lett
Solución
Guía | Partner
Guía | Partner

Setting the id of HTML Element for Landing Page

resolver

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 Me gusta