Saturday, 15 August 2015

css - @font-face not working (Shopify) -



css - @font-face not working (Shopify) -

the src url correct, the text shows regular serif. maybe has shopify?

@font-face { font-family: 'tradegothicltstdcnno.18'; src: url('http://cdn.shopify.com/s/files/1/0065/5242/files/tradegothicltstd-cn18-webfont.eot'); src: url('http://cdn.shopify.com/s/files/1/0065/5242/files/tradegothicltstd-cn18-webfont.eot#iefix') format('embedded-opentype'), url('http://cdn.shopify.com/s/files/1/0065/5242/files/tradegothicltstd-cn18-webfont.woff') format('woff'), url('http://cdn.shopify.com/s/files/1/0065/5242/files/tradegothicltstd-cn18-webfont.ttf') format('truetype'), font-weight: normal; font-style: normal; }

and

#navbar #navpanel .mainnav ul.tier1 > li { font-size:13px; font-family: 'tradegothicltstdcnno.18'; }

it simple mistake.

the lastly src url

url('http://cdn.shopify.com/s/files/1/0065/5242/files/tradegothicltstd-cn18-webfont.ttf') format('truetype'),

should end ; not ,

i thought of deleting question, instead decided reply myself in case else makes same mistake.

css font-face shopify

No comments:

Post a Comment