Hello, trying to customize Dawn version 7.0.1
and I’ve tried many solutions for Dawn theme, but nothing works on my end.
I want to add a custom font basically_a_sans_serif
Website URL - https://shop.mriya.nyc/password
Pass - seethu
Thanks
Hello, trying to customize Dawn version 7.0.1
and I’ve tried many solutions for Dawn theme, but nothing works on my end.
I want to add a custom font basically_a_sans_serif
Website URL - https://shop.mriya.nyc/password
Pass - seethu
Thanks
Hi there,
I have an article about custom fonts here https://roartheme.co/blogs/beyours/add-custom-fonts-to-your-shopify-theme
The article is for Be Yours theme. However, Be Yours was built based on Dawn, so you can also refer to it. ![]()
I hope this helps.
Regards.
Hi @artemmriya ,
To use a custom font you will have to upload your font file and do some code change.
Step 1: Upload your font
Step 2: Applying the custom font
@font-face {
font-family: "Font name";
src: url({{ "Filename" | asset_url }}) format("Format");
}
Hope this is helpful, best of luck!
Best regards,
Layoutbase - Homepage & Blog Page-builder
Added font as an asset
@font-face {
font-family: “BasicallyASansSerif-Regular”;
src: url({{ “BasicallyASansSerif-Regular.woff2” | https://cdn.shopify.com/s/files/1/0615/6599/3143/files/BasicallyASansSerif-Regular.woff2?v=1665135016 }}) format(“woff2”);
}
Didn’t work
Please recheck if i entered code correctly
Hi @Artemmriya
This is PageFly - Advanced Page Builder. I would love to give you some recommendations
You can try add
@font-face {
font-family: ‘BasicallyASansSerif-Regular’;
src: url(‘https://cdn.shopify.com/s/files/1/0615/6599/3143/files/BasicallyASansSerif-Regular.woff2?v=1665135016’) format(‘woff2’), url(‘https://cdn.shopify.com/s/files/1/0615/6599/3143/files/BasicallyASansSerif-Regular.woff2?v=1665135016’) format(‘woff’);
}
Hope my solution works perfectly for you!
Best Regards;
PageFly
nope
nothing
I’ve used the following app to add a custom font; https://apps.shopify.com/fontify-change-customize-font-for-your-store?locale=nl. It’s free of charge and easy to use.
Hi @artemmriya ,
Please try copy/paste below:
@font-face {
font-family: "BasicallyASansSerif-Regular";
src: url({{ "BasicallyASansSerif-Regular.woff2" | asset_url }}) format("woff2");
}
Hello @artemmriya
This guide will be helpful to you; please refer to it -
https://www.oscprofessionals.com/blog/how-to-add-and-edit-a-custom-fonts-to-your-shopify-store/
You should be move code on top of base.css
@font-face {
font-family: "BasicallyASansSerif-Regular";
src: url("BasicallyASansSerif-Regular.woff2") format("woff2");
}
Hope can help you.
I’ve added the following to my base.css file, but I am having no luck. Is it obvious what I’ve doing wrong?
@font-face {
font-family: “TekoBold”;
src: url({{ “Teko-Bold.woff2” | asset_url }}) format(“woff2”);
}
h1,h2,h3,h4,h5,h6,.headline,.subtitle {font-family: ‘TekoBold’!important;}