1
I am not able to use the bootstrap glyphicons, just do not appear, I am using a linux machine, and I know it is something related to fonts folder because it did not come in the common bootstrap installation, follows code:
<form>
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
<input id="username" type="text" class="form-control" name="username" placeholder="Usuario">
</div>
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span>
<input id="password" type="password" class="form-control" name="password" placeholder="Senha">
</div>
</form>
I know my folders will be well disorganized, and that probably the font file was put in the wrong place, I put it everywhere else nothing, I downloaded the fonts file from this link: https://gitlab.com/mailman/mailman-website/tree/a97d6b4c5b29594004e3855f1ab1222449d0c211/content/fonts
Since I’m using SASS for the first time, I made some changes to the _variables.scss class and created a _glyphicons.scss and after these changes, I already got a return, but it’s not the same as if I was using CDN because it aligns right, but I would like to use the css files I downloaded and so I don’t want to use via CDN
It can be seen that the icons are a little misaligned with the input, what using CDN it aligns properly nor I need to insert any more lines of code.
Eduardo seems that the tip to import the Font has already given a result right. And it seems that he is already importing some styles of Bootstrap. Are you using Version 3.3 correct? From your code it seems that the Error is now with the form you built the Form or some class you customised wrong or did not use in the correct place and no longer with Glyficon. Avoid editing the question to ask another question. Finish or Accept this question and open a New Question with the other problem. Tmj
– hugocsl
Thank you Hugo ! I will check my html form code and if I made any impact modifications on css classes and I will also follow your advice on avoiding editing to carry out new questions, vlw.
– Eduardo Rafael Moraes