skip to Main Content

Failed to decode downloaded font, but using correct CSS Font Face – Shopify

I am using the following code to import the google Font "Syncopate" into my shopify site: @font-face { font-family: 'Syncopate'; font-weight: 400; font-style: normal; src: url('//cdn.shopify.com/s/files/1/0633/5778/0153/t/2/assets/Syncopate-Regular.eot'); /* IE9 Compat Modes */ src: url('//cdn.shopify.com/s/files/1/0633/5778/0153/t/2/assets/Syncopate-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('//cdn.shopify.com/s/files/1/0633/5778/0153/t/2/assets/Syncopate-Regular.woff2') format('woff2'), /*…

VIEW QUESTION

Ubuntu – Font on CSS won't load

I was trying to use google fonts on CSS for my webpage but instead of rendering the chosen font, it showed the default sans-serif font. What changes could I make to the code? h1 { font-family: 'Montserrat-Black', sans-serif; font-size: 3rem;…

VIEW QUESTION
Back To Top
Search