Skip to content
  • There are no suggestions because the search field is empty.

FontAwesome Pro Icons

Add your custom icon kit to use your brand's icon library with the POWER HubSpot theme


fontawesome-script-example-embeds-html-power-theme

kb-new-btn-live-preview

 


TABLE OF CONTENTS

Page Speed Impact
Setup Instructions



Page Speed Impact

kb-green

Low - FontAwesome Pro requires an additional script to load that could have a minor impact on page speed.

Take a look at our performance guide to get your website running its best!




Setup Instructions

POWER theme includes an embeds.html to make adding scripts easier, if you are using the @marketplace theme and don't have a child theme, you can add the script to the Site header HTML.

Add FontAwesome Pro to Your HubSpot Website Theme

⚠️ Setting up FontAwesome Pro requires the use of Design Tools and some familiarity with code.

This documentation is designed to assist developers and those with code experience in properly setting up the embeds.html for use with FontAwesome Pro. If that's not you, please submit a ticket and we will gladly assist with the setup!

Get your FontAwesome Pro Kit code

From your FontAwesome Pro Account, you'll want to create a kit with the icons you want to use. This will give you the script you need to add access to your custom icons for use with the theme.

Sign up here if you don't have FontAwesome Pro yet

When your kit is ready:

  1. Open the Kit in FontAwesome Pro
  2. From the How to Use tab, click the Copy Kit Code! button
  3. Add the script to the embeds.html in your child theme

 

Updating the embeds.html to include FontAwesome Pro

If you've already created the embeds.html in your child theme to configure ShareThis, you won't need to follow these steps and will add the FontAwesome kit script to the same file.

Content → Design Manager

  1. From the @marketplace folder, expand the maka_Agency folder, then the POWER THEME folder
    design-tools-marketplace-power-theme-code-files
  2. Open the templates folder
    power-theme-templates-code-folder
  3. Open the partials folder
    partials-templates-embeds-html-power-theme
  4. Right-click on the embeds.html and choose Clone to child theme
    design-tools-marketplace-clone-to-child-theme
  5. Navigate to your child theme and follow the same folder path (your child theme → templates → partials) to open the editable embeds.html
  6. Next, copy your FontAwesome kit script and add it to the corresponding section.

To make sure that the FontAwesome Pro library is available on all pages, you'll add it to the embeds.html under the macro for All Pages - Page Header.

Adding FontAwesome Pro Icons to POWER Modules

To access your custom icons, from the module you'll choose the Icon/Image Variant and set it to Fontawesome Icon (Pro) 

icon-image-variant-font-awesome-pro

and then add the icon class you want to use.

fontawesome-icon-pro-class

FontAwesome Icon Class

You can find the icon class by opening your kit and finding the icon you want to use, then copy the code provided:

fontawesome-icon-class

 

⚠️ If you've whitelisted your icon kit for your brand domain, make sure you include the domain for the page editor so the icons are visible why updating the page.