Adding google fonts to debut theme Hebrew

ShellyG1
Excursionist
17 0 4

Hello, 

I am building a website in Hebrew (RTL) and I find that when I change the font under the font picker they do not change my Hebrew writing. 

I wanted to add a custom google font which works on Hebrew but am not sure where in the code to change this / other threads I see about this are asking me to change code which I do not see. 

Anyone have any experience in doing this/can explain to meow to do it?

 

Thank you! 

KetanKumar
Shopify Partner
14101 1641 5053

@ShellyG1 

Yes, you can do easy to upload your custom font

1. Go to Online Store->Theme->Edit code
2.Asset->/theme.scss.liquid->upload your custom font all font tyep = TTF, OTF, WOFF, WOFF2, SVG
3. Asset->/theme.scss.liquid->paste below code at the bottom of the file.

@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;
}

 can you please just change font name, for example, Montserrat-Regular to your custom font name

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 Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
ShellyG1
Excursionist
17 0 4

Hello, 

Thank you for the reply! 

Would I need to download all of the files from a font first? and then when uploading I just simply type as you typed but change Monserrat to a different name or I need to manually upload something? like where it says asset url?

 

Thank yoU! 

Shelly 

KetanKumar
Shopify Partner
14101 1641 5053

@ShellyG1 

Yes, current this

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 Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
ShellyG1
Excursionist
17 0 4

Hello, 

I'm not sure what you meanly 'current this'. Could you explain please if I have to upload anything or how exactly to get new fonts in Hebrew onto my Shopify. 

 

Thanks a lot in advance. 

Shelly 

0 Likes
KetanKumar
Shopify Partner
14101 1641 5053

@ShellyG1

please flow above step

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 Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
ShellyG1
Excursionist
17 0 4

I don't understand how to "upload your custom font"

where it says URL in the code you gave me, what am I supposed to add/upload there? what URL?

Thank you

0 Likes