Custom font not on preview or live but can see on customize?

laurenamberreyn
Tourist
6 0 2

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.

 

TEST 1.pngTEST 2.pngTEST 3.png

Replies 2 (2)
Made4uo-Ribe
Shopify Partner
4084 936 1142

Hi @laurenamberreyn 

This may help. 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


PageFly-Oliver
Navigator
475 92 86

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.