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

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

藏色散人
藏色散人Original
2020-11-18 10:23:013154browse

The solution to the problem that the bootstrap icon is not displayed: First find the specified file in the fonts folder; then ensure that the relative path between the file and the bootstrap.css file is correct.

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

The operating environment of this tutorial: windows10 system, bootstrap3.0. This article is applicable to all brands of computers.

Recommended: "bootstrap video tutorial"

Bootstrap glyphicon icon is not displayed.

Today when I used bootstrap to write a carousel image, I used the two arrow icons on the left and right.

<a class="left carousel-control" href="#carousel-186457" data-slide="prev"><br>  <span class="glyphicon glyphicon-chevron-left"></span><br></a><br><a class="right carousel-control" href="#carousel-186457" data-slide="next"><br>  <span class="glyphicon glyphicon-chevron-right"></span><br></a>

But the effect is exactly like this (Firefox). There is even nothing on other browsers.

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

Later I found a reference to the font path in the bootstrap.css file.

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

So copy this folder and make sure the relative path to the bootstrap.css file is correct. The icon will display correctly.

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

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!

Statement:
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