【发布时间】:2016-04-08 19:46:33
【问题描述】:
我正在我的网站中使用引导程序,但图标未显示,在 Web 控制台中显示为
Failed to load resource: the server responded with a status of 404 (Not Found)
http://mywebsite.in/lgm/assets/lib/bootstrap/fonts/glyphicons-halflings-regular.woff2
而bootstrap的目录结构是
- 资产
- 库
- 引导程序
- CSS
- 字体
- js
- 引导程序
- 库
谁能帮我解决这个问题
提前致谢
【问题讨论】:
-
用这个字体 glyphicons-halflings-regular.woff2 检查 bootstrap.css 文件,它在哪里,或者请提供那里写的内容
-
@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regulard41d.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}in bootstarp.min.css 我有关于 glyphicons-halflings-regular.woff2 的代码 -
你能上传一些代码让我检查一下吗
-
感谢回复Paresh Gami一位同事解决了这个问题。
-
@Jallipalli Phinindra 你能告诉我你是如何解决这个问题的吗?我的文件夹中有字体,路径正确但仍然出现错误。
标签: twitter-bootstrap http-status-code-404 glyphicons