Home>Support>FontAwesome code location in Vantage

FontAwesome code location in Vantage

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi,
I have a rather unusual question today.
I’ve been using this vantage premium theme for a while and it’s been great so far. However, I’m having some issues with my website’s loading time with this FontAwesome “thing”.

My website gets 100% slower using due to this FontAwesome and have tried tracking it down on the header but haven’t found any php file that includes this line in the page.

So here’s the header code:

This line of code appears in the of my landing page: www.psychecentre.com but I couldn’t find it anywhere else in any .php files.

Through a lot of grazing, it seems like this the code: wp_head() is responsible for this, Because it appears just before the tag in the header.php in vantage folder.

I’d really appreciate anyone’s help. Also, this: .

Basically, I want to completely get rid of this FontAwesome stuff. I want to server fast content and this is slowing my site down heavily.

Thanks!

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 4 months ago Alex S
    Hi, I Work Here

    Hi Arpan,

    That’s odd. FontAwesome is honestly a very small asset so it shouldn’t be causing you such problems. Personally, I don’t have any performance related issues with your website.

    You can prevent Vantage from outputting the FontAwesome stylesheet by adding some PHP to your website. Please install Code Snippets and then navigate to WP AdminSnippetsAdd New and add the following PHP:

    function vantage_remove_font_awesome () {
    	wp_dequeue_style( 'font-awesome' );
    }
    add_action( 'wp_enqueue_scripts', 'vantage_remove_font_awesome', 20 );
    

    Please note that a lot of the icons present on your website may no longer work.

    To clarify, wp_head() is crucial to your website and it should never be removed. WordPress and a lot of plugins (including SiteOrigin Page Builder) rely on wp_head() for outputting their assets.

    By the way, as you’re a premium user, you’re entitled to priority email support. If you would like to make use of that, please follow the instructions found on your Page: Dashboard (please refer to the support tab). Please reference this thread and include your SiteOrigin order key in the email.

  2. 8 years, 4 months ago Arpan Adhikari

    Thank you so much for your support Alex.
    Will try out your solution. It’s just that sometimes it slows down my site’s loading time to up to 45 seconds so didn’t really want to take any chances.

    Cheers!

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More