Quickly Add a Styled Header to Your Page Sections

The Header with Line HubSpot Module gives you full control of the style and position of the header text and line. You can even set a background image for your header text.

Module Demo FAQ Free Download Documentation


Module Demo

Left Aligned


Main Headline


Main Headline


Main Headline

Center Aligned


Main Headline

Description text goes heare


Main Headline

Description text goes heare


Main Headline

Description text goes heare





Right Aligned


Main Headline


Main Headline


Main Headline


Frequently Asked Questions

Some pages you create will require an image gallery or tab content, but others will not. HubSpot modules give you the control to add new functionality to only the pages you need without impacting the rest of the pages on your website. These modules are added to drag-and-drop areas or sections when editing a page. If you are more familiar with WordPress, they are like blocks or plugins in that CMS.

HubSpot CMS Hub Overview

The content management system you need to easily create and personalize website pages for every visitor — optimized for conversion across every device. Rely on developers as much or as little as you’d like.

HubSpot CMS Hub Features

  • Drag and drop page editor
  • Image and file manager
  • Fully integrated CRM
  • Contact attribution analytics – know where leads come from
  • Multiple language support
  • Build website pages, landing pages, and blog posts
  • Managed website hosting and security

HubSpot CMS Hub Benefits

  • Marketing and Sales can have one login and tool for their website
  • Easy to use website builder without having to manage website hosting and plugins
  • Can make content translation and smart content to leverage your CRM data

Get Started

Have a question? Contact Me

Module Documentation

When you add the module to the page, you will see the default text in place.

Ok, now let's look at what you can edit and what the fields mean. Each module has two main tabs. Content and Styles. I recommend adjusting the content tab first and then once you have that set move on to the styles tab to make visual refinements.


Text Block (Top Middle Bottom)

If you don't want a block of text to appear, delete the text, and it will not display.


This field allows you to change the module's default ID. By default, the ID is a shortened version of the middle text block text. You would use this ID for linking directly to this module on the page. Commonly named a jump menu, like




Desktop Card Alignment

This is where you can set the horizontal alignment of the content card. By default, it is aligned to the right.

Content Card Stack Order

Just like a stack of playing cards, you can specify if you want the content card to be above or below the image.

Text Block (Top Middle Bottom)

Each text block has the same set of editable options. These include the following:



If you leave this unchanged, the text will be styled using your theme styles set for the HTML tag you select in the next field. If you want to override that, change the font and font color with this field.


Instead of manually writing your text in all caps you can just check this box to make your text uppercase.


Select the HTML tag you would like to use to benefit from SEO and page hierarchy. Read this article if you need help deciding what heading to use.

Line Height

When your text is long and wraps to a second or third line you will notice the need to adjust the line height. This is the web version of leading using in print design. It adjusts the height of the ascender and descender of your text so they don't overlap.

Letter Spacing

This is like tracking in print design. It is the space between all characters in the text block. You can use this to tighten or broaden the space.


By default your text will use your font color, but what if you want your text to have a texture or gradient fill? This option set will help you apply a text background.

Background Type

First choose your text background type: none, image, or gradient. If you select an image it will be added and cropped inside your text.


Margin / Padding

Adjust the spacing around your text with these fields. You can add one value to apply to the top, right, bottom, left sides of the text. or adjust values for each side. 


Horizontal alignment

Choose how you would like the text to be aligned in the content card.



First choose the line border style and color.


Adjust the thickness of the line


By default, the line will be the full width of the container. But you can adjust this to be an exact length if you want.


Specify where you would like the line to appear. 


Image Placement

Specify where the container background image will be placed relative to the container.


Upload or browse for the image you would like to place in the container.

Image Opacity

Since you are placing this image behind the text, you can adjust the image opacity if you needed to improve readability.

Background Color

Instead of adding a background image, you could also add a solid fill color.

Border Radius

Do you want the container to have rounded corners? If so enter the pixel value here.


Adjust the margin and padding for mobile and desktop devices. Below is a screenshot show the difference between padding and margin.

an illustration of the css box model


Decrease Mobile Font Size

To save vertical space on mobile devices, you could set a percentage to decrease the font sizes on mobile only.

Container Width / Height

By default, the container will be 100% width of the column it's in. But you could adjust these fields if you want your text to wrap in a different way or specify fixed dimensions.