Skip to content

Use custom social icons in content

Last updated: August 8, 2024

Available with any of the following subscriptions, except where noted:

All products and plans

To use custom social icons in a Social follow or Social sharing module on a HubSpot page or template, create a custom version of the module to add your own social icons.

1. Clone the default module

  • In your HubSpot account, navigate to Content > Design Manager.
  • In the left column, click the Social follow or Social sharing module. 
  • In the alert in the module editor, click Clone module.
custom-social-sharing-module
  • In the dialog box, enter a name for your cloned module, then click Clone.

2. Replace the icons

  • In the module inspector, locate the Linked files section. Under Other files, take note of the social icon file names for each network (e.g. facebook-color.png).
  • Ensure that your custom social icon images are in PNG format and have the same file names as the existing social icon files for each network in the module (e.g. facebook-color.png).
  • To replace an existing social icon for a network, click the symbol on the right of the file. Then, click Add next to Other files.

  • In the right panel, use the search bar to locate your custom social icon in your file manager, or click Add file in the bottom left and select Upload files to upload your custom social icons from your device.
  • Click the file name to add the icon to the module.

  • After replacing the social icon files, click Preview in the upper right of the module editor to open a preview of the module.
  • When you're satisfied with how the module appears, click Publish changes in the upper right of the module editor. You can now add this new custom module to your HubSpot content.


3. Add the module to your template

With the module published, you can add it to either a drag and drop template or a coded template.

Drag and drop templates

  • In your HubSpot account, navigate to Content > Design Manager.
  • In the left column, click the name of a template. 
  • In the right column, click + Add
  • Click the new module, then drag it into position on your template. 
  • In the upper right, click Publish changes.

Coded templates

  • In your HubSpot account, navigate to Content > Design Manager.
  • In the left column, click the name of the new module. 
  • In the upper left, click the Actions dropdown menu, then select Copy snippet.

    design-manager-copy-module-snippet
  • In the left column, click the name of the coded template. 
  • In the coded template, paste the snippet where you want the module to appear.
  • In the upper right, click Publish changes.
Was this article helpful?
This form is used for documentation feedback only. Learn how to get help with HubSpot.