FontAwesome Font, Adding to Element
-
Hi, @codeamp,
The WordPress search tool in your support forum does not seem to work for me, so perhaps this subject has already been covered. Anyway, I thought your users might find this useful.
To add FontAwesome icons to an element, this is what worked for me to add the “far fa-comments” to the Comment Count element:
* Sign up at FontAwesome.com;
* add the FontAwesome script to the Head section via plugin, “Add to All”;
* add the class of the desired icon [far fa-comments] in the Advanced field in the Comment Count element in the Template Editor;
* add the CSS (would need to be edited for a different icon):
.fa-comments:before {
font-family: “Font Awesome 5 Free”;
content: “\f086”;
color: #454c7c;
padding-right: 4px;
}Regards,
@mtoshThe page I need help with: [log in to see the link]
- The topic ‘FontAwesome Font, Adding to Element’ is closed to new replies.