Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #31040
    TimT
    Guest

    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

    #31041
    support
    Guest

    Thank 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!

    #31042
    TimT
    Guest

    Yes, that’s done it, many thanks!

    #31043
    support
    Guest

    You’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!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Using Fontawesome’ is closed to new replies.