glyphicons

Twitter bootstrap 3.0 icon change on collapse

萝らか妹 提交于 2019-11-27 18:20:45
This is about Bootstrap 3.0. I would like the icon/glyphicon to change on collapse. I.e, from a closed folder to an open one. I have searched far and wide, and have read threads here on SO, but to no avail. This thread was close, and is basically what I want. How can I make it work in Bootstrap 3? This is a CSS-based solution that relies on the default bootstrap.js collapse implementation. No additional HTML markup required (feel free to replace Font-Awesome with glyphicons, of course). <style> .panel-title > a:before { font-family: FontAwesome; content: "\f07c"; padding-right: 5px; } .panel

ASP.NET Actionlink with glyphicon and text with different font

房东的猫 提交于 2019-11-27 17:56:54
I want to present a button with @Html.ActionLink but i need to have my application font in the text. With this code: <span> @Html.ActionLink(" Create New", "Create", null, new { @class = "btn btn-warning glyphicon glyphicon-plus-sign" }) </span> I get my button but the Create New text appears with the glyphicon font-family. Putting the glyphicon classes in the span doesn't change anything Robban You should not add the glyphicon class to the a-tag. From the Bootstrap website: Don't mix with other components Icon classes cannot be directly combined with other components. They should not be used

Glyphicons rendering as empty box

时间秒杀一切 提交于 2019-11-27 17:28:35
问题 I'm using the excellent Twitter bootstrap library with Glyphicons, however all the icons are rendering as empty squares, like so: I've uploaded the Glyphicons fonts to my web root and changed the bootstrap.css file to point to their correct locations, which I've verified because they have 200 OK requests in Chrome's dev tools: This is the markup I'm using: <a href="http://www.mysite.com/download" class="btn btn-primary"><span class="glyphicon glyphicon-star"></span> Download to Computer</a>

Boootstrap glyphicons Firefox issues

倖福魔咒の 提交于 2019-11-27 14:49:19
I know that there's many other problems similar to this, but mine doesn't seem to meet any of the criteria of the other issues. My Bootstrap 3 glyphicons are working for every browser except Firefox. On Firefox, they display as weird symbols. This same problem is notorious when serving the glyphicons from a CDN, but that's not my issue as I'm using locally hosted font files. Also, I've already ensured that my files aren't corrupted. Here's my code. <head> <link rel="stylesheet" type="text/css" media="screen" href="/assets/css/bootstrap.min.css" /> <link rel="stylesheet" type="text/css" media=

How do I change Bootstrap 3's glyphicons to white? [duplicate]

走远了吗. 提交于 2019-11-27 14:28:27
问题 This question already has an answer here: Can I add color to bootstrap icons only using CSS? 14 answers I've got the glyphicons in my page, but they are black. How do I set the glyphicons to white? 回答1: You can just create your own .white class and add it to the glyphicon element. .white, .white a { color: #fff; } <i class="glyphicon glyphicon-home white"></i> 来源: https://stackoverflow.com/questions/18070322/how-do-i-change-bootstrap-3s-glyphicons-to-white

Center Twitter Bootstrap 3 Glyphicons in buttons

坚强是说给别人听的谎言 提交于 2019-11-27 11:28:03
问题 I am now using Twitter Bootstrap 3 RC2 as well as Twitter Bootstrap which has moved into a separate repository. I have noticed, if used in a button with text the icon is not centered very well: The icon and the text have the same bottom line, but I believe for a good looking button the icon should be centered based on the text, shouldn't it? Any idea how to achieve this? http://bootply.com/74652 回答1: Move the text out of the <span> with the glyphicon and apply vertical-align: middle; to the

How to remove error about glyphicons-halflings-regular.woff2 not found

依然范特西╮ 提交于 2019-11-27 09:49:31
问题 ASP.NET MVC4 Bootstrap 3 application is running from Microsoft Visual Studio Express 2013 for Web IDE. Chrome console shows always error http://localhost:52216/admin/fonts/glyphicons-halflings-regular.woff2 Failed to load resource: the server responded with a status of 404 (Not Found) This file exists in the fonts directory in the Solution Explorer. Build action is set to "Content" and Copy to Output directory is "Do not copy like in other font files". Bootstrap 3 is added to the solution

twitter bootstrap icons are missing in print

眉间皱痕 提交于 2019-11-27 09:45:06
Glyphicons are missing when I hit 'Print', but are shown correctly in browser window. I'm talking about a simple page with static content, except for latest twitter bootstrap. Is it possible to get Bootstrap icons shown in print? Supamic FULL CSS SOLUTION I have written a CSS print stylesheet solution that should solve 80-90% of this problem occurring for sites that require the icons(glyphicons) from bootstrap to show up when printing without requiring the user to turn on "print background images" in their browser and this solution will work in ALL major browsers(Chrome, Safari, Firefox, IE) .

Only some glyphicons showing in IE

不打扰是莪最后的温柔 提交于 2019-11-27 06:52:23
问题 Me and my colleague have been trying to solve this problem for awhile and we can not get it to work. Hopefully someone out there is smarter than us and have some good input on this. When using IE8, IE9 or IE10 to visit websites http://glyphicons.com/ or http://getbootstrap.com/components/ not all the glyphicons are showing (some are showing but others just show as boxes []). In Chrome all are showing. EDIT: I should add that this is on computers on our company network. Could there be a

Twitter bootstrap 3 - create a custom glyphicon and add to glyphicon “font”

你。 提交于 2019-11-27 06:03:49
I am running twitter bootstrap3, and I am extremely happy with the new way it handles the icon as fonts. However: I need some custom icons; I need to make them myself, and ideally integrate it into the existing font. I have searched with no luck. I am well familiar with illustrator, vector graphics etc, but how to integrate? Worst case scenario, I will make images the traditional way, but hope there is a better solution. How do I integrate a custom glyphicon with the existing (bootstrap 3) glyphicon font? This process might be one option. You could use the IcoMoon App . Their library includes