Bootstrap-glyphicon-menu-hamburger not showing

The boot icon for the hamburger menu is clearly defined here: http://getbootstrap.com/components/#glyphicons-glyphs

If I use it in my html, this icon is not displayed, and another icon:

<button class="btn btn-default" type="button"> <span class="glyphicon glyphicon-menu-hamburger" aria-hidden="true"></span> </button> 

Why?

+6
source share
2 answers

This is a question about the glyphicon version in your bootstrap, so it will always be updated, so use the same version. you can check it here http://getbootstrap.com/getting-started/ . It looks compatible in v3.3.2 and checks yours.

Other features:

  • missing glyphics font in the font directory c.
  • Changes found in the directory path
+10
source

Jean Gkol makes sense because it looks like your problem probably comes down to your version of Bootstrap. I tested Bootply your code:

 <button class="btn btn-default" type="button"> <span class="glyphicon glyphicon-menu-hamburger" aria-hidden="true"></span> </button> 

and he worked with version 3.3.2. However, as soon as I changed the version to 3.3.1, 3.3.0 or 3.2.0, the glyphicon did not appear. Thus, it seems that the hamburger-hamburger is a completely new image in the Bootstrap Component package.

+5
source

Source: https://habr.com/ru/post/982143/


All Articles