标签: wordpress字体更改 该话题包含 2 个回复,3 人参与,最后由 oooo 更新于 2年 前 。 正在查看 3 个帖子:1-2 (共 2 个帖子) 作者 帖子 #22501 skynet14 文章数量: 1@skynet14 楼主 2022年2月27日 下午10:47 用如下代码在wp后台自定义css,但是网站字体没有效果怎么解决? @font-face {font-family: ‘AWan’;src: url (‘https://cdn.jsdelivr.net/gh/huiyio/Lib/fonts/AWan/Awan.eot’);src:url(‘https://cdn.jsdelivr.net/gh/huiyio/Lib/fonts/AWan/AWan.eot’) format(’embedded-opentype’),url(‘https://cdn.jsdelivr.net/gh/huiyio/Lib/fonts/AWan/AWan.woff2’) format(‘woff2’),url(‘https://cdn.jsdelivr.net/gh/huiyio/Lib/fonts/AWan/AWan.woff’) format(‘woff’),url(‘https://cdn.jsdelivr.net/gh/huiyio/Lib/fonts/AWan/AWan.ttf’) format(‘truetype’),url(‘https://cdn.jsdelivr.net/gh/huiyio/Lib/fonts/AWan/AWan.svg’) format(‘svg’);font-weight: normal;font-style: normal;font-display: swap;}*:not ([class*=”icon”]):not (i) {font-family: “AWan” !important;} #22502 kmhfygg 文章数量: 4@kmhfygg 2022年2月27日 下午10:54 仓库容量达上限了,没法用jsdelivr获取,你用开发者工具看一下加载字体的链接正不正常就知道了 #22503 oooo 文章数量: 22@oooo 2022年2月27日 下午10:57 F12看下 CDN 链接成功没 JSdelivr 经常被墙 作者 帖子 正在查看 3 个帖子:1-2 (共 2 个帖子) 哎呀,回复话题必需登录。