Why isn't the custom font changing in the Shella theme on Shopify?

amazezones
Explorer
82 0 13

hI

 

I have added below code to theme-d.css in Shella theme but font is not changing. 

Screen Shot 2022-07-03 at 2.16.19 PM.png

 

<!-- Custome Font -->
@font-face {
font-family: "BarlowLight";
src: url("BarlowLight.woff2") format("woff2");
}

 

Replies 3 (3)

KetanKumar
Shopify Partner
36839 3635 11972

@amazezones 

sorry if you have added custom so please upload all font type like TTF, OTF, WOFF, WOFF2, SVG

 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
amazezones
Explorer
82 0 13

I have uploaded WOFF and WOFF2 and TTF but still its not working...

PageFly-Oliver
Astronaut
784 158 147

Hi @amazezones ,

 You can try

@font-face {
font-family: "BarlowLight";
src: url({{"BarlowLight.woff2" | asset_url}}) format("woff2");
}



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.