FROM CACHE - zh-cn_header

I HAVE THE FONT FILE, HOW TO REPLACE THE FONT

Laife
新成员
6 0 0

Hi!

 

My goal would be to be able to change the font of the entire website and replace it with a more elegant and attractive one. I have the font file. I do not know how to upload it to the theme to replace the font since there is no font that i want. What i want to do is use my own font.

 

I sincerely thank those who will be able to help me and will be able to teach me useful notions

2 条回复2

豪克斯
远足者
22 2 6

https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face

你可以先上传你的字体文件到shopify ,然后复制链接去到代码里面找到引用字体的文件,一般叫css-variables.liquid然后按照上方的链接引入字体,然后找到对应的全局字体位置修改即可。

v:Simon_Du_
有问题随时call

Bigbai
观光客
3 0 1

Shopify's fonts can be modified. You only need to download the fonts you like and upload them to modify them. If your template has encapsulated your own fonts, then you need to find the corresponding font package and modify it.