- AuthorPosts
- June 29, 2020 at 3:07 pm #31040TimTGuest
I’m trying to use some FontAwesome icons on a page.
In the BoldGrid developer’s docs it says FontAwesome is one of the technologies used, and I can see the calls to it in the page headers, but I can’t get any of the icons to come up, using code like
<i class="fas fa-camera"></i>
I’ve also tried using the FA WP plug-in, again, with no joy.
I’m probably doing something stupid, as I’m a Windows programmer rather than a web developer.
If someone could show me what I’m doing wrong, that would be much appreciated!
Tim
June 30, 2020 at 1:34 pm #31041supportGuestThank you for contacting us Tim, our team is happy to help you get your icons working correctly!
I believe the problem you are seeing with the icons is related to the classes assigned to that element. All of our themes use the Font Awesome 4.7 library and if you are looking at the documentation for version 5 then that might explain why you are experiencing some trouble. In version 4.7 all icons start with the class fa instead of fas, so the markup for the camera icon should look like this:
<i class="fa fa-camera"></i>
I also located a cheatsheet from Font Awesome that provides you with a list of all the icons available in that version that I hope you will find useful as a reference:
https://fontawesome.com/v4.7.0/cheatsheet/
I hope that changing the markup gets you icons working as expected and please let us know if there is anything else that we can do to help!
July 1, 2020 at 12:54 pm #31042TimTGuestYes, that’s done it, many thanks!
July 1, 2020 at 2:06 pm #31043supportGuestYou’re welcome Tim, I am glad to hear that worked for you! If you ever have any other questions in the future please do not hesitate to ask!
- AuthorPosts
- The topic ‘Using Fontawesome’ is closed to new replies.