How can I add a preload tag to the liquid css for a custom font?

untamedtallow
Excursionist
38 0 7

I am trying to add a preload tag to the custom font liquid code below.

 

@font-face {
font-family: 'Wild Wolf';
src: local('Wild Wolf'), url('https://cdn.shopify.com/s/files/1/0625/6872/6713/files/Wild_Wolf.woff2?v=1661833383') format('woff2');
}

 

I have uploaded the .woff2 file to Shopify Files and it is also in my assets if that is better to pull from.

 

How can I add a preload tag and should I use the shopify files reference like I currently am or should I be using the asset_url reference?

 

My url is https://untamedtallow.com/

 

My goal is to speed up the loading of the word UNTAMED on my home page.

Replies 0 (0)