When I use bootstrap plus icon it is thick. E.g.
span {
font-size: 30px;
}
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.css" rel="stylesheet" />
<span class="glyphicon glyphicon-plus"></span>
As you can see the plus icon is thick but on some website who use bootstrap I found the same plus icon to be thin e.g. http://gporetro.com/ menu on mobile has thin plus icon with same 30px font-size.
- Is bootstrap 3.3.6 plus icon now changed to be thicker?
- How can I use the same old thinner plus icon?
Thanks.
3
Answers
Looks to me they are using custom CSS.
You can also find this in their “responsive.css” file.
Although, I’m confused now myself on how it showed a thinner plus in the snippet window, without linking that specific CSS file.
Edit: As explained in the other answer, the font file itself is missing, so it falls back to another + sign.
Bootstrap has the following instruction.
}
If you check the URL for the font files on gporetro you will get 404 while on bootstrap CDNs you get the files. I’m exemplifying with .eot but it’s true for all extensions.
https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.eot
http://gporetro.com/fonts/glyphicons-halflings-regular.eot
Note: the base css is located on the following locations:
http://gporetro.com/css/bootstrap.css
https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css
You might be asking, how it renders the + sign then? It’s because glyphicon use the default HTML code for a plus sign each is