• Hi,

    Heart icon beside Add to wish list link in product page is not working.
    I am using flatsome theme in localhost, I heard flatsome doesnt work well with font awesome but I can you can help me fix this with a code or something

Viewing 1 replies (of 1 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi

    I could suggest some code that should force FontAwesome to be enqueued in your pages

    
    if( ! function_exists( 'yith_wcwl_custom_enqueue_fontawesome' ) ){
    	function yith_wcwl_custom_enqueue_fontawesome(){
    		wp_enqueue_style( 'yith-wcwl-font-awesome', YITH_WCWL_URL . 'assets/css/font-awesome.min.css', array(), '4.7.0' );
    	}
    }
    add_action( 'wp_enqueue_scripts', 'yith_wcwl_custom_enqueue_fontawesome', 15 );
    

    Just add this at the end of functions.php file of your Flatsome theme or Flatsome child

Viewing 1 replies (of 1 total)
  • The topic ‘Heart icon not showing “Add to wishlist”’ is closed to new replies.