How can I upload a custom font to my online store?

MYAMISTORE
Visitor
1 0 0

Hi everyone! I'm trying to add a custom font to Shopify. The font name is Aron Medium, and I've gone through the whole converting the font files to woff and woff2, and adding them to the assets folder. I have also edited the code in base.css (I don't have theme.css on my theme), but nothing seems to be working. Could anyone help?

 

Please see the attached code below for reference as well:

 

@font-face {
font-family: 'Aron-Medium';
src: url('Aron-Medium.woff') format('woff');
font-style: normal;

}
tagname or .classname or #id{
font-family: Aron-Medium;
}

Replies 0 (0)