All things Shopify and commerce
Hi There,
Hope you can help. My font loads on ''customize'' but does not show the font when on ''live'' or on ''preview''. Does anyone know why?
}
@font-face {
font-family:"SergioTrendy-Regular";
src: url("SergioTrendy-Regular.woff2") format("woff2"),
url("SergioTrendy-Regular.woff") format("woff");
}
h1,h2,h3,h4,h5,h6,body,p,a{ font-family: "SergioTrendy-Regular"!important; }
Ive attached screen shots.
Maybe this one can help.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @laurenamberreyn ,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.liquid
Step 3: Paste the below code at the bottom of the file -> Save
<style> @font-face { font-family: 'SergioTrendy-Regular'; src: url('https://cdn.shopify.com/s/files/1/0612/7756/9224/files/Sergio_Trendy.woff2?v=1700283535') format('woff2'); } <style>
Hope my solution works perfectly for you!
Best regards,
Oliver | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
That works thank you!! The only thing is characters like a - or a % are highlighted strangely like the attached. do you know how I change?
Hello this works but any character does not work. Can you help? 🙂
The font might not be showing up on the live or preview version because it is not properly linked to your theme.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024