Blog, Website & Page Publishing

ARothberg
参加者

Setting the id of HTML Element for Landing Page

解決

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 いいね!
1件の承認済みベストアンサー
Jake_Lett
解決策
ガイド役 | Solutions Partner
ガイド役 | Solutions Partner

Setting the id of HTML Element for Landing Page

解決

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 いいね!
1件の返信
Jake_Lett
解決策
ガイド役 | Solutions Partner
ガイド役 | Solutions Partner

Setting the id of HTML Element for Landing Page

解決

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 いいね!