Hello,
I am trying to upload a custom font to my store. I’ve watched tutorials, forums etc. All have pointed to adding snippets of code to a theme.css file or some variation of this file name. However, any filename variation mentioned I do not seem to have - so I have no idea where to add the code.
Does anyone know what file I should be looking for if I don’t have a theme.css or similar? I am using the Maker theme. I’ve added screenshots below to show what files I have when I search for css or within the asset folder.
Thanks
Hi @imanexbelle ,
Have you uploaded the font to Assets? If all the steps are done, only the step of adding font-face to the css file is left, you can go to layout > theme.liquid file, find ‘:root’. You just need to add the code here, it will work fine:
Hope it helps!
Hi @LitExtension
Thank you so much for the reply. It has helped me a little but there is still some sort of issue.
Firstly the code you referenced in the layout/theme.liquid file wasn’t there. I did however find that code (or at least similar) in snippets/css-typography.liquid. So I’ve inputted the code into the root section. It is changing the intended text types however its changing them to a default serif font and not the font I have uploaded in assets and tried to link to.
I’ve attached a few screenshots. Not sure what I am doing wrong here!
Thanks again
Hi @imanexbelle ,
Please send your site and if your site is password protected, please send me the password. I will check it.
@LitExtension Thank you very much. The site is: https://thereisbia.com/ password: mohgli
However, I think I have found the issue now. It may because I am using a trial font? I used the same code, with a different font to update all p fonts and it worked. Additionally used a different front for the headers I am trying to change and that worked also. Only thing I can think of…
Thanks again
Hi @imanexbelle ,
Yes. If you tried another font and it works, this is most likely because the font you uploaded in assets is incorrect.
So the problem may be due to trial font.
If it helped you solve your issue, please mark it as a solution for me. Thank you and good luck.
@LitExtension just an update for yourself + anyone else who stumbles across this.
Turns out the issue wasn’t the code or the font file itself. Ended up uploading the font in settings>files instead of assets and linking from this URL and that solved it! Not sure why any other font I tried worked when uploaded and linked from assets but hey its working now 
1 Like
I am also having this issue and none of these suggestions are working.
Hi @eeveefox ,
You can create a question on the community and send me the link. I will check it.
Because this will help build a better community.
Thank you.
Hi I am just wondering how you linked it from assets this way
I have also had this issue, I added it to Files like you have suggested but what is the next step?
Thanks for your help!
Nicole