1
How to use icons from Font Awesome on the Woocommerce pages?
1
How to use icons from Font Awesome on the Woocommerce pages?
2
I believe this way it will work, goes in functions.php and adds this code.
add_action( 'wp_enqueue_scripts', 'enqueue_load_fa' );
function enqueue_load_fa() {
wp_enqueue_style( 'load-fa', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css' );
}
Now just add the icons in the text editor, like this
<i class="fa fa-home fa-fw" aria-hidden="true"></i>
Source: https://www.elegantthemes.com/blog/tips-tricks/font-awesome-wordpress
Official Documentation of Woocomerce about Font-Awesome
List of icons: http://fontawesome.io/icons/
Browser other questions tagged php wordpress wordpress-theme woocommerce
You are not signed in. Login or sign up in order to post.