This question already has an answer here:
This is my icon.css
file.
@font-face {
font-family: 'icomoon';
src:url("#resource{['css/fonts/icomoon.eot']}");
src:url("#resource{['css/fonts/icomoon.eot?#iefix']}") format('embedded-opentype'),
url("#resource{['css/fonts/icomoon.woff']}") format('woff'),
url("#resource{['css/fonts/icomoon.ttf']}") format('truetype'),
url("#resource{['css/fonts/icomoon.svg#icomoon']}") format('svg');
font-weight: normal;
font-style: normal;
}
I have used resource handler instead I need to use resource loader to call .eot
, .woff
files. because my icons are not displaying on my jsf page.
I have googled about the same but couldn't find the solution.
I would be thankful if anyone can help me.
Here the code. Look, if it does not work, restart the server as many times as necessary until the icons appear