Site logo

Archived topic

Fontawsome Not Showing in Footer Widget

5 replies · Started by akmhou on September 23, 2019

Viewing posts 1–6 of 6

Hello,

I've added the following code via Code Snippet:

add_action( 'wp_enqueue_scripts', 'tu_load_font_awesome' );
/**
* Enqueue Font Awesome.
*/
function tu_load_font_awesome() {
wp_enqueue_style( 'font-awesome', '//use.fontawesome.com/releases/v5.5.0/css/all.css', array(), '5.5.0' );
}
I've using a Custom HTML footer widget and added...
<p>
<i class="fas fa-map-marker-alt"></i>   6140 Highway 6, Suite 175<br><i class="fas fa-map-marker-alt" style="color:#08294e;"></i>   Missouri City, TX 77459</p>
<p>
<i class="fas fa-phone-alt"></i>   281.969.7514
</p>
<p>
<i class="fas fa-envelope"></i>   Email Me (Form)
</p>

The Fontawsome icons show correctly on the front page and one other page (My Story), but not on the others.

How can I fix this?

Thanks,
Achinta

Hi Leo,

Thanks lot for your solutions. As usual, very quick response.
I'll try them out and let you know.

Regards,
Achinta

No problem :)

Hi Leo,

Thanks a lot for your suggestions. However, I decided to create a custom footer using Elementor.

I'm marking this as resolved.

Thanks,
Achinta

No problem :)

This archived topic is closed to new replies.