Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I am trying to use a custom font in Shopify by the method mentioned on shopify.dev page. After doing all the stuff when I inspect the page the font-family on the page changes but the font does not changes attaching some pictures below.
1) Font trying to use
2) Methods I tried
3) Main page before applying custom font
4) Main page after applying custom font
Please need someone help to solve the issue
Hi @SubhanTariq ,
You can try replace your code to :
@font-face { font-family: 'RubikWetPaint-Regular'; src: url('path-to-font/rubikwetpaint-regular.woff2') format('woff2'), url('path-to-font/rubikwetpaint-regular.woff') format('woff'); font-weight: normal; font-style: normal; } h1, h2, h3, h4, h5, h6, p { font-family: 'RubikWetPaint-Regular' !important; }
Hope it helps @SubhanTariq !
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
Product Labels by BSS | B2B Solution & Custom Pricing
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025