Before you ask please READ THIS

Font Awesome Manually Add

edited December 2018 in Rife Posts: 87
Hi I see Font Awesome is used in the theme and Elementor but I cant seem to get it working in html.

Im trying to manually add an icon to the bottom footer bar
Made with Metta <i class="far fa-heart"></i> · © [year] Powered by <a href="https://xx.com/">xxx</a>
CSS

.fa-heart {
color: red;
}

I did try adding the html to a WP Post and same issue.

Am I missing something? Many Thanks

Post edited by Air on

Comments

  • AirAir
    Posts: 9,797
    Hey :-)

    2 changes are needed.

    First in your code
    <i class="far fa-heart"></i>
    to
    <i class="fa fa-heart"></i>

    Second, in theme - it will also be added in the next version.

    Go to rife\advance\utilities\footer.php line 199
    change
    echo nl2br( wp_kses_data( balanceTags( $ft, true ) ) );
    to
    echo nl2br( wp_kses_post( balanceTags( $ft, true ) ) );

    And it will work(I have tested it :-) )

    With kind regards.
  • hi thanks that worked
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!