March Documentation

Module: Settings

HubSpot's new page editor brings a lot of new features to the table, but it's lacking many useful features such as:

  1. Assign ID or custom class to a section
  2. Turn section full-height
  3. Swap columns on mobile
  4. Remove padding/spacing between columns

This is where the Settings module comes into play. 

Assign ID or custom class to a section

  1. First, drag-and-drop the Settings module into any part within a section. 
  2. Select Target = Section
  3. It will display the following fields:
    61b2ddb7-a5a9-4b6b-b3df-44ea108c7bde.jpg?source=viewer&v=27e860acb8561b60d5c60a166f18d6c1

    1. You can add your custom CSS classes into the Custom Classes field
    2. Custom ID only supports one ID. 
      Format: no space, no symbols except hyphen or underscore, uppercase/lowercase accepted.
  4. Save.

Turn section full-height

  1. First, drag-and-drop the Settings module into any part within a section. 
  2. Select Target = Section
  3. Check the Section Full Height boolean field
    61b2ddb7-a5a9-4b6b-b3df-44ea108c7bde.jpg?source=viewer&v=27e860acb8561b60d5c60a166f18d6c1
  4. Save.

Swap columns on mobile

End result:
  • Desktop:
    4ae572d9-c080-45b4-8861-cfad2b3a5a3d.jpg?source=viewer&v=61a5ebeb76ee4fbd8854b0545967b2eb
  • Mobile:
    10d6f7cf-5950-4a3f-a7fa-9b3f99909445.jpg?source=viewer&v=5de7ffb33f672065b2e9ac2461fb3203
Here are the steps to follow:
  1. First, place the Settings module below the Row we're editing.
    401c5ec9-4d0e-4578-b251-1354244ccc89.jpg?source=viewer&v=48685d3843c5aca6d53c3a3e23085ada
    Note: The Settings module MUST be placed directly below the row.
  2. Select Target = Row
    d74e5c15-b64b-4f75-824b-8939ad620cb9.jpg?source=viewer&v=d0a8baa638c4243c30010fa1c0d872d0
  3. Enable the Swap Columns (Mobile) boolean field
  4. Save

Remove padding/spacing between columns

In many cases, we need to build a section that consists of columns that are stacked side-by-side without any spacing. 

HubSpot page editor doesn't provide the option to completely remove a column's spacing, and this is where the Settings module is useful. 

By removing the padding/spacing between two columns, we can achieve layouts such as:

5ccf48c8-c6fd-48fb-98c3-9656cd53fc01.jpg?source=viewer&v=a8a1ad6569648908680434694816687b

Here are the steps to follow:
  1. First, place the Settings module below the Row we're editing.
    401c5ec9-4d0e-4578-b251-1354244ccc89.jpg?source=viewer&v=48685d3843c5aca6d53c3a3e23085ada
    Note: The Settings module MUST be placed directly below the row.
  2. Select Target = Row
    12edf610-514d-4f0f-a1e7-94e3ff9eb8fc.jpg?source=viewer&v=543815d9b534fd473ce9b855e8618b93
  3. Enable the Remove Module Spacing boolean field
  4. Save