Hi!
Looking for an answer as how to add a Google Font to either of the themes Express, Dawn and/or Debut?
The font in question is DM Sans – https://fonts.google.com/specimen/DM+Sans
Thank you!
Hi!
Looking for an answer as how to add a Google Font to either of the themes Express, Dawn and/or Debut?
The font in question is DM Sans – https://fonts.google.com/specimen/DM+Sans
Thank you!
you can’t I dont believe
you can try this way
Yes, you can do easy to upload your custom font
@font-face {
font-family: 'Montserrat-Regular';
src: url('{{ 'Montserrat-Regular.eot?' | asset_url }}');
src: url('{{ 'Montserrat-Regular.eot??#iefix' | asset_url }}') format('embedded-opentype'),
url('{{ 'Montserrat-Regular.woff' | asset_url }}') format('woff'),
url('{{ 'Montserrat-Regular.ttf' | asset_url }}') format('truetype'),
url('{{ 'Montserrat-Regular.svg#Montserrat-Regular' | asset_url }}') format('svg');
font-weight: normal;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: antialiased;
}
Hi @KetanKumar
Can you help me? I added this code but it didn’t work on my Dawn theme, I’m trying to add the custom font only to headings and my font is on OTF format.
Hope you can help me.
Carolina
Hi @KetanKumar
Of course this is my store url:
Password: futsoh
I’m trying to add Allegory.otf only to headings.
Thank you!! really hope you can help.
Carolina
sorry but i can’t see this
custom font all font tyep = TTF, OTF, WOFF, WOFF2, SVG
you have convert your font please
Hi @LaseMakers ,
I helped you to solve at the post: https://community.shopify.com/c/shopify-design/add-custom-font-to-heading-on-dawn-theme/m-p/1367222
Please check it.
Hello,
I tried to add custom fonts to my Express theme (v 1.15.1) following forum’s advices but still no success.
So far as i understood :
The code below didn’t work for me at all
@font-face {
font-family: “Font name”;
src: url({{ [font-file-name] | asset_url }}) format(“[font-format]”);
}
I would really appreciate if someone can help to solve this task.
thank you in advance.
sorry font_picker doesn’t allow to list
Basically there is no solution?
no sorry