Add a heading to your HubSpot Comments Form

A

Today, I did a bit of rework on a HubSpot blog template. The goal was to clarify the comment area, as it was simply a form at the bottom of the blog post without a title.

Before and after adding a title H3 to a comment form in HubSpot

Add a heading to your Leave a Comment form in HubSpot

Many areas of your HubSpot Comment Widget are not editable as of 2024; however, there is a way to add or change an existing title or heading for your comment form. First, navigate to Forms and select your comments form. You will likely see just input fields. To add a title, go to the “Create New” tab and choose “Header Text.” Drag the “Header Text” to the top of your form. Now type your form name, such as Leave a Comment. Select your text and choose the appropriate heading level. For our form, Heading 3 was the correct heading level. Click, “Update” and now your comment’s heading should be visible across every Blog post.

Create new Header Text in Hubspot

Add headline to HubSpot comments form

Choose your heading for your Comments Form Title

Set heading level for comments form in HubSpot

Add a heading to your entire Comments Area in HubSpot

Adding a header to your Comments area was completed on my site but editing the Blog Template html file (blog.html).

Search for the class widget-type-blog_comments, that’s the comments section of your blog template. Before this line of code {% blog_comments "blog_comments" overrideable=false, label='Blog Comments' %}, I added a Heading 3 with my selected title. I added the following code, <h3>Conversation</h3>.

The results are the blue h3 heading below that reads “Conversation”. When there is conversation, comments are listed first and then the “Leave a Comment” form.

Need to style your Headings further?

I provided additional styling in my site’s CSS style sheet. For instance, for my H3s I used the following CSS body.blog .blog-content .widget-type-blog_comments h3.

Other Resources

No two HubSpot blogs are set up exactly the same, so if this didn’t help you, I recommend searching for other tutorials and resources. Here are a few to get you started.

Happy Blogging!

About the author

Kelly Barkhurst

Designer to Fullstack is my place to geek out and share tech solutions from my day-to-day as a graphic designer, programmer, and business owner (portfolio). I also write on Arts and Bricks, a parenting blog and decal shop that embraces my family’s love of Art and LEGO bricks!

Add comment

Recent Posts

Archives

Categories