Using glyphicon in bootstrap 4 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Using glyphicon in bootstrap 4

I design a website and i use bootstrap 4 in my codes. So then I understand that my websitesā€™ glyphicons donā€™t work. How to use glyphicons in bootstrap 4?

7th Oct 2018, 4:43 AM
Mehdi Shafaeian
Mehdi Shafaeian - avatar
2 Answers
+ 1
I find my answer. For using fontawesome in your code just copy this piece of code and put it in your head tag: <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
7th Oct 2018, 3:59 PM
Mehdi Shafaeian
Mehdi Shafaeian - avatar
+ 3
"Droppped icon support: Bootstrap 4 does not support BS3 Glyphicons. UseĀ Font-Awesome or other icon libraries instead." (typo and everything) https://www.w3schools.com/bootstrap4/bootstrap_get_started.asp
7th Oct 2018, 8:13 AM
Janningā­
Janningā­ - avatar