【发布时间】:2019-09-15 19:48:52
【问题描述】:
我第一次尝试使用自托管字体,但它似乎不起作用。
谁能指出我做错了什么?
https://treasure.studiothensome.com/home-2/
font-family: mercury-display-roman;
src: url('http://www.treasure.studiothensome.com/wp-content/themes/treasure/fonts/MercuryDisplay-Roman_Web.woff');
font-weight: normal;
}
@font-face {
font-family: Fakt-Blond;
src: url('http://www.treasure.studiothensome.com/wp-content/themes/treasure/fonts/Fakt-Blond.woff');
font-weight: normal;
}
【问题讨论】:
-
您在
https上托管网站,但字体 URL 使用http来访问字体 - 您能否确认这是否是拼写错误?
标签: html css wordpress fonts self-hosting