0

I am working with bootstrap in my website the icons are not displaying, In web console it is showing as

Failed to load resource: the server responded with a status of 404 (Not Found)
http://mywebsite.in/lgm/assets/lib/bootstrap/fonts/glyphicons-halflings-regular.woff2

And the directory structure of the bootstrap is

  • assets
    • lib
      • bootstrap
        • css
        • fonts
        • js

Anyone help me regarding this issue

Thanks in advance

  • check bootstrap.css files with this font glyphicons-halflings-regular.woff2, where it is point or please provide what is written there – Paresh Gami Jan 05 '16 at 04:25
  • `@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regulard41d.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}` in bootstarp.min.css I have this code regarding glyphicons-halflings-regular.woff2 – Jallipalli Phanindra Jan 05 '16 at 05:41
  • can you upload code some so i can check it – Paresh Gami Jan 05 '16 at 09:22
  • Thanks for response **Paresh Gami** one of colleague solved the issue. – Jallipalli Phanindra Jan 06 '16 at 03:20
  • 1
    @Jallipalli Phanindra Can you please tell me how did you solved this issue? I have fonts in the folder, path is correct but still getting error. – Mahrukh Mehmood May 23 '16 at 03:50
  • Possible duplicate of [How to remove error about glyphicons-halflings-regular.woff2 not found](https://stackoverflow.com/questions/32300578/how-to-remove-error-about-glyphicons-halflings-regular-woff2-not-found) – MUlferts Oct 25 '17 at 15:25

2 Answers2

0

The reason behind the error is because glyphicons-halflings-regular.woff2 cannot be found on the path that is being looked for. This can be rectified by putting the file on folder. A fresh download of Bootstrap contains the file in the Fonts folder.

JobSam
  • 287
  • 5
  • 11
-1

There are few solutions:

  • you can hard-remove these lines from your bootstrap.css file (if you do not using them)
  • you can upload missing fonts to specified path (/lgm/assets/lib/bootstrap/fonts/ in this case)
  • you can generate your customized bootstrap js/css without glyphicons
Michal_Szulc
  • 4,097
  • 6
  • 32
  • 59