skip to Main Content

Html – How can I use a custom font in Scratch using CSS and @font-face?

How do I make a custom font from scratch? @font-face { font-family: JuneBug; src: url('https://raw.githubusercontent.com/grannygamer777/DerpFont/main/my%20derp%20handwriting.ttf'); } h1 { font-family: JuneBug } <textarea class="paint-editor_text-area_27Ci4" spellcheck="false" style="font-family: Arial, Helvetica, sans-serif; font-size: 40px; line-height: 1.2; display: initial; transform-origin: 0px 36px; transform: matrix(0.5, 0,…

VIEW QUESTION

Where do I define @font-face in shopify?

I upload some font-related files in assets in Shopify. But I don't know where and how to define the below code. @font-face { font-family: 'FreeSansBold'; src: url('FreeSansBold.eot'); src: url('FreeSansBold.eot?#iefix') format('embedded-opentype'), url('FreeSansBold.woff2') format('woff2'), url('FreeSansBold.woff') format('woff'), url('FreeSansBold.ttf') format('truetype'), url('FreeSansBold.svg#FreeSansBold') format('svg'); font-weight: bold;…

VIEW QUESTION

Adding Custom Font to Shopify Issue

For some reason the custom font that I am trying to implement on my Shopify site is not working at all. I uploaded the font as an asset and used the code in our theme.scss file: @font-face { font-family:'Neue-Haas-Grotesk', sans-serif; src: url(Linotype-NHaasGroteskDSStd-65Md.ttf);…

VIEW QUESTION
Back To Top
Search