Why Are My Glyphicons Showing as 'E001' in Bootstrap 3?

Patricia Arquette
Release: 2024-11-08 20:53:02
Original
616 people have browsed it

Why Are My Glyphicons Showing as

Failed to Display Glyphicons Accurately in Bootstrap 3

Encountering problems displaying glyphicons in Bootstrap 3 is not uncommon when migrating from an older version. This issue, where icons appear as 'E001' or similar codes instead of their intended glyph, has been known to affect Firefox in particular.

Cause and Resolution

The root cause of this problem lies in the customized version of Bootstrap. Broken font files included in this customized package prevent glyphicons from displaying correctly.

To resolve this issue, consider the following steps:

  • Ensure that you have not selected the customized Bootstrap version.
  • If you have, you can manually download the following font files and replace the existing ones with them:

    • https://netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.svg
    • https://netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.woff
    • https://netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.ttf
    • https://netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.eot
  • Perform a strong reload (CTRL F5) to apply the changes.

By following these steps, you should be able to restore the proper display of glyphicons in Bootstrap 3.

The above is the detailed content of Why Are My Glyphicons Showing as 'E001' in Bootstrap 3?. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!