What's your biggest current challenge? Have your say in Community Polls along the right column.

Uploading Custom Fonts

Uploading Custom Fonts

Back9ine
Excursionist
16 0 2

Hello, I am trying to upload custom fonts to my asset folder in the code editor but it is not working. The font files are in woff and woff2 format. When I add the file and click "Done" nothing is happening. The pop-up is in a continuous loading loop.

 

I am using the Be Yours theme.

 

Any guidance would be helpful. Thank!

Reply 1 (1)

Asad-Mahmood
Trailblazer
222 39 44

You need to upload the font file in content

AsadMahmood_0-1732306439063.png


then copy url of file and then go to online store -> edit code then look for theme.css or app.css file and paste this code there

@font-face {
    font-family: 'Font-Name';
    src: url('the-copied-url');
}


and then you will be able to use this font where ever you want

If my solution has been helpful, you can consider supporting me via Buy Me a Coffee.
Hire me: asadmahmood8470@gmail.com
WhatsApp