BuddyBoss Home – Web Support Forums Themes BuddyBoss theme Calling Font Awesome for a JS file

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Question

    #41142
    @godrob

    Hope you can help @tjchester, @michael I’m using the following code to display a label in a chat room. The JS file contains this line:

    htmlContent += '<div style="float: right; width: 25px"><a href="/music-room"><i class="fa fa-music fa-lg" title="Music Room"></i></a></div>';

    The link works fine, but the font awesome icon doesn’t show. It just looks like this | |

    I’m not sure why the icons work just fine on the rest of my site, but not here. Any help greatly appreciated.

    Thanks
    Rob

    Answers

    #41169

    Alyssa
    Participant
    @alyssa-buddyboss

    @godrob are you able to send me a link to the page?
    You could try adding a custom class then specifying the CSS content like we do for mobile icons and such.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The question ‘Calling Font Awesome for a JS file’ is closed to new replies.