Home > Web Front-end > Bootstrap Tutorial > What should I do if the bootstrap icon does not display?

What should I do if the bootstrap icon does not display?

藏色散人
Release: 2020-11-30 17:01:59
Original
3260 people have browsed it

How to prevent the bootstrap icon from displaying: 1. Introduce the front font icon file and the fronts folder under bootstrap; 2. Change the relative path to an absolute path.

What should I do if the bootstrap icon does not display?

The operating environment of this tutorial: Windows7 system, bootstrap2&&bootstrap3 version. This article is applicable to all brands of computers.

Recommended: "bootstrap video tutorial"

Solution to the problem of bootstrap font icon not displaying

1.bootstrap font icon Not displayed at any time

The v2.x version requires the introduction of the two images glyphicons-halflings-white.png and glyphicons-halflings.png;

The v3.x version requires the introduction of the front font icon file, introduce the fronts folder under bootstrap;

 What should I do if the bootstrap icon does not display?

2. The bootstrap font icon can be displayed locally in the project, but cannot be displayed on other machines

Often the path to the font icon is wrong, please change the relative path to an absolute path

The above is the detailed content of What should I do if the bootstrap icon does not display?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template