Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1166609
    Jacob D
    Participant

    I’ve added a Font Awesome icon inline with some text and it looks as expected in the Cornerstone preview, but when viewed live in my browser, they are missing. The code I am using I found in the forums, so I’m wondering if there is another piece of the puzzle I might be missing or if I need to execute this differently?

    
    <p style="font-size: 12px; line-height: 100%;"><a href="#"><i class="fa fa-envelope"></i> Email Esmeralda</a></p>
    

    You can view the live page on the dev site here: http://homewardbound.pmcgdev.com/about/

    #1166879
    Nabeel A
    Moderator

    Hi there,

    Thanks for writing in! Please add the following code in your Child Theme’s style.css file:

    .fa-envelope:before {
        content: "\f003";
        display: inline-block;
        font: normal normal normal 14px/1 FontAwesome;
        font-size: inherit;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    Let us know how this goes!

    #1166938
    Jacob D
    Participant

    That did the trick, thank you again for such amazing support!

    #1167000
    Prasant Rai
    Moderator

    You are most welcome. 🙂

  • <script> jQuery(function($){ $("#no-reply-1166609 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>