Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi there,
I added a new custom font to be applied to the main product and the featured product titles (i only have one product at the moment), the custom font shows up on desktop chrome but not on safari, it also won't show up on any mobile browser.
i've read all the discussions here and tried to apply all the fixes but nothing worked.
for reference, i've uploaded both woff and woff2 in the files section on shopify and not in the assets as one of the experts in the discussions suggested and as you can see below, i've copied the corresponding url for woff and woff2 files and pasted them in the code
here's my coding (this is in base.css file)
// newly installed font start
@font-face {
font-family: 'Buffalo';
font-weight: normal;
font-style: normal;
font-display: swap;
src: url('https://cdn.shopify.com/s/files/1/0776/4387/4610/files/Buffalo.woff2?v=1687306327') format('woff2'),
url('https://cdn.shopify.com/s/files/1/0776/4387/4610/files/Buffalo.woff?v=1687316066') format('woff');
}
.product__title { font-family: 'Buffalo' !important; font-size: calc(var(--font-heading-scale) * 8rem);
}
.product__title h1 { font-family: 'Buffalo' !important; font-size: calc(var(--font-heading-scale) * 8rem);
}
// newly installed font end
can anyone help please?
Thanks in advance
Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025