Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

some glyphicons showing, some not? Bootstrap 3

I have a page with the following:

<p>This one isn't appearing ->> <span class="glyphicon glyphicon-bed"></span></p>

<p>But this one is ->>  <span class="glyphicon glyphicon-home"></span></p>

At this URL: http://1080422389.n303457.test.prositehosting.co.uk/property-detail.php?jbID=4

Why would one show but not the other. Man I'm so confused! :( NJ

like image 380
NathonJones Avatar asked Jan 30 '15 13:01

NathonJones


1 Answers

The answer is, it's not declared in your Bootstrap CSS file. You might want to grab the latest pull of the glyphicon font and CSS declarations from GitHub, at least this part (but I would do the whole thing as it's possible it had been remapped):

.glyphicon-bed:before {
  content: "\e219";
}

Your version (3.2) was before they added the bed (3.3.2).

like image 198
Aibrean Avatar answered Sep 19 '22 17:09

Aibrean