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

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

laurenamberreyn
Tourist
20 0 3

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
9884 2354 2952

Hi @laurenamberreyn 

This may help. 

 

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

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

PageFly-Oliver
Shopify Partner
878 190 185

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.