I was previously using a downloaded bootstrap.min.css
file version, and I had added
.glyphicon-location2:before{content:"\e948"}
in-line to that file (which was a custom edit included in a website template). I had updated my glyphicon font set using icomoon, and am referencing that downloaded font set in my project file. Now, I want to use the CDN version of bootstrap.min.css
to speed up loading of my page, but that appears to only reference the default glyphicons, because my custom glyphicons are missing from the webpage output.
- How much speed increase "should" the preloaded CDN version result in?
- Where do I put the glyphicon reference that pulls icons from my custom local file glyph set? Do I have to override the default font source and point to the local font set, similar to the answer in this thread (keeping in mind I'm not using SCSS or Node)?
Can I override the default glyphicons by adding
@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.woff') format('woff'),
url('fonts/glyphicons-halflings-regular.ttf') format('truetype'),
url('fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg')
}
to my style.css
file, or do I have to override the bootstrap.min.css
font handling elsewhere?