Glyphicons não são exibidos

Olá pessoal,

Estou tentando usar alguns icons do bootstrap, mas não está dando certo.

O diretório onde está a pasta fonte é este:

Configuração do bootstrap.css:

@font-face {
  font-family: 'Glyphicons Halflings';

  src: url('../fonts/glyphicons-halflings-regular.eot');
  src: url('../fonts/glyphicons-halflings-regular.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');
}

Será que alguém poderia me dar uma ajuda?

1 curtida

Problema resolvido. Segue solução:

@font-face {
  font-family: 'Glyphicons Halflings';

  src: url("#{resource['fonts/glyphicons-halflings-regular.eot']}");
  src: url("#{resource['fonts/glyphicons-halflings-regular.eot']}?#iefix") format('embedded-opentype'), 
       url("#{resource['fonts/glyphicons-halflings-regular.woff2']}") format('woff2'), 
       url("#{resource['fonts/glyphicons-halflings-regular.woff']}") format('woff'), 
       url("#{resource['fonts/glyphicons-halflings-regular.ttf']}") format('truetype'), 
       url("#{resource['fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular']}") format('svg');
}
1 curtida