Support » Plugin: YITH WooCommerce Featured Video » Missing Font Awesome?

  • Resolved Jon Fuller

    (@freshyjon)


    The play button is trying to pull a Font Awesome icon, but it seems your plugin isn’t adding the Font Awesome files, so it’s showing a broken glyph.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi @freshyjon ,
    Try to add this custom code in your functions.php

    if ( ! function_exists( 'ywfav_add_fontawesome' ) ) {
    	add_action( 'wp_enqueue_scripts', 'ywfav_add_fontawesome', 99 );
    
    	function ywfav_add_fontawesome() {
    		wp_enqueue_style( 'fontawsome', 'https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css' );
    	}
    }
    Jon Fuller

    (@freshyjon)

    That fixed it, but home come it isn’t enabled by default?

    Plugin Author YITHEMES

    (@yithemes)

    I’m sorry, maybe your theme doesn’t include Font Awesome.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Missing Font Awesome?’ is closed to new replies.