How do I change Bootstrap 3's glyphicons to white?

user2654833 picture user2654833 · Aug 6, 2013 · Viewed 118.8k times · Source

I've got the glyphicons in my page, but they are black. How do I set the glyphicons to white?

Answer

dodgerogers747 picture dodgerogers747 · Aug 6, 2013

You can just create your own .white class and add it to the glyphicon element.

.white, .white a {
  color: #fff;
}
<i class="glyphicon glyphicon-home white"></i>