I want to include the font-awesome css file into my child

I want to include the font-awesome css file into my child theme but for some reason can't figure out how to add it without copying the header file from the parent first. If I do that, then the theme will be out of sync when the parent gets updated.

I am using UpFront and Spirit...

The code to include is: <link rel="stylesheet" href="path/to/font-awesome/css/font-awesome.min.css">

  • Vaughan
    • Support/SLS MockingJay

    Hi Boyd,

    Hope you're well?

    Until we have the font manager completed, you will need to add this manually in the theme itself, so you would need to add the following to the functions.php

    function theme_name_scripts() {
    	wp_enqueue_style( 'font-awesome', '//path-to/font-awesome.min.css' );
    }
    
    add_action( 'wp_enqueue_scripts', 'theme_name_scripts' );

    Hope this helps

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.