I am using the Helix framework template.

Is it possible to add a font awesome icon to a module or article title? If yes, how do I go about it?

I have seen around that you can style a title using the header class in the advanced section of the module, but I am not sure how to go about it.

You could add some custom CSS like this or similar:

.page-class .page-header h1::before {
    font-family: FontAwesome;
    content: "\f095";
}

Use a page class to target a specific page.

You can find a list of icons and their codes at: https://fontawesome.com/cheatsheet

If you want to use different icons in titles you can use the RokCandy Macro.

  • 1
    Could you please expand your answer to perhaps suggest implementation or even a link for reference? When you post answer with the intent to educate, you stand the best chance of helping researchers and earning upvotes. – mickmackusa Aug 16 at 16:25
  • 1
    The link to the extension and the documentation. – Mars Aug 17 at 13:19

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.