简体   繁体   English

使用eBay广告引用外部字体CSS文件

[英]References an external font css file with eBay Ad

I've have read up many other answers but just can't see what I'm doing wrong, I have a set of custom fonts created using iconmoon, I've downloaded the css and font files and uploaded to a directory on my website, I'm trying to reference font.css file via an Ad I've put together in eBay, but I can never get it to work, if I reference Iconmoons development font.css file then I can see my Icons, any ideas would be great 我已经阅读了许多其他答案,但是看不到我在做什么,我有一组使用iconmoon创建的自定义字体,我已经下载了CSS和字体文件并上传到了我网站上的目录中,我试图通过我在eBay中放在一起的广告来引用font.css文件,但是我永远都无法正常工作,如果我引用Iconmoons开发font.css文件,那么我可以看到我的图标,任何想法都会很棒

//This works //这有效

 <link rel="stylesheet" href="https://i.icomoon.io/public/53e1b82fac/DMQDartsFonts/style.css"> 

//This does not work //这不起作用

 <link rel="stylesheet" href="http://www.my-site.com/fonts.css"> 

Try this in your style sheet. 在样式表中尝试一下。 If that's not gonna work, it means that your URL cannot be read or you put the wrong path in the link.. 如果这不起作用,则意味着无法读取您的URL或在链接中输入了错误的路径。

@import url("http://www.my-site.com/fonts.css");

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM