Nov 13, 202012:44 AM - edited Nov 13, 202012:44 AM
Member
implement font-awesome pro icon
SOLVE
Hello,
I have font-awesome pro. Then I wanted to ask about the ways to use the font awesome pro in the hubspot. Is it same with the way to use the icon (add icon field) by edit the setting or anythings?
@kyKaq there are a lot of different ways you can use FontAwesome Pro. I think the most popular way is to add the provided "Kit Code" to the global site head in your settings. Once you do that, you can copy and past any icon code from fontawesome.com to your website and the kit code will handle the rest.
Personally, I like to use the SVG code directly in my modules/templates for better performance. But I will admit, it can be a bit of a pain to do things that way.
- upload the FA CSS to your file-manager and link it directly in the module - this will load the FA CSS only if the module requires it and only once per site not per module
@kyKaq there are a lot of different ways you can use FontAwesome Pro. I think the most popular way is to add the provided "Kit Code" to the global site head in your settings. Once you do that, you can copy and past any icon code from fontawesome.com to your website and the kit code will handle the rest.
Personally, I like to use the SVG code directly in my modules/templates for better performance. But I will admit, it can be a bit of a pain to do things that way.