Hello guys!
Could somebody help me out on how I can add a custom font type to shopify?
Thank you in advance!
Topic: Adding a custom font to a Shopify store after .woff/.woff2 uploads didn’t take effect.
Key guidance provided:
Alternatives suggested:
Additional resource:
Notes/clarifications:
Status: No confirmation of success from the requester yet; solutions and a video guide were provided, and the issue appears unresolved/ongoing.
Hello guys!
Could somebody help me out on how I can add a custom font type to shopify?
Thank you in advance!
Hi @goldenlifters , did you upload the custom font file to shopify?
Thank for your reply Abdosamer!
Yes, I tried to upload it with woff2/woff but it seems like it hasn’t worked.
Best Wishes,
Farid Mirzayev
Hello @goldenlifters ,
I understand you are looking to add custom fonts in your shopify store.
Please take a look, have you follow the below mentioned steps for adding custom font -:
Go to Online Store → Themes ->Action(Three dots) → Edit code.
Go into the Assets → Click ‘Add a new asset’ → Select font file → Click Upload.
(Before adding the font file please download the font and convert it into .woff2 or .woff format.)
@font-face {
font-family: ‘Font-File-Name’;
src: url(‘Font-File-Name.woff’) format(‘woff’),
font-weight: normal;
font-style: normal; }
tagname or .classname or #id {
font-family: ‘FontName’ !important;
}
(Please change Font-File-Name with your font file name and replace tagname, .classname, #id with the html tag, classes, ids in which you want to use this custom font)
(Note: If you are using .woff2 format file then replace src code line of the above mentioned code with this src: url(‘Font-File-Name.woff2’) format(‘woff2’); )
If still you are unable to add a custom font, then you can go with an alternate solution ‘Shopify apps’. I have mentioned some of the shopify apps, which you can use for adding custom fonts.
Kindly take a look.
I hope the solution helps you.
Please let me know if you have any query or need further assistance.
Thank you.
hi @goldenlifters ,
Find the below video with detailed instruction how to add custom fonts in Shopify.