font-awesome

ngClass doesn't work Angular 5

有些话、适合烂在心里 提交于 2019-12-24 15:04:44
问题 Hello I am user angular 5 and I want to toggle change a Play <-> Pause icon for my soundcloud player. here is my TypeScript followed by my html. I can see in my console that I toggle correctly the playMode but the font awesome icon doesn't change as it is suppose to do. Thanks for the help. import { Ng2DeviceService } from 'ng2-device-detector'; import { Component, OnInit } from '@angular/core'; import { NgClass } from '@angular/common'; import './soundcloud-script.js'; @Component({ selector:

font-awesome with asp.net mvc and ie11/Safari only SOME icons don't work

主宰稳场 提交于 2019-12-24 12:51:34
问题 I've found many resources on what to do if NONE of the font-awesome icons are working, but I have an issue where only SOME of the icons are missing, and only on IE and Safari. It appears to be affecting all of the icons that have a "content" value of "\f20d" and above... that is, if I select the class for icon "fa-meanpath" (which has a content value of \f20c) the icon is visible. if I change it to "fa-buysellads" (which has a content value of \f20d) the icon does not show, nor does any icon

Place Font-Awesome-5 Icon as Bootstrap-4 Card background

爷,独闯天下 提交于 2019-12-24 12:46:06
问题 I want to use a Font Awesome 5 icon as card background image using Bootstrap-4! I tried everything what I found from the internet but nothing worked. I'm using Angular2 (v8) along with Bootstrap 4. 回答1: The following code worked for me. I've simplified what I use but you still get a font-awesome icon as background and you can put text on top of it: HTML: <div class="container-fluid"> <div class="row"> <div class="col-md-4 col-sm-6 d-flex"> <div class="class-box"> <div class="bg-primary"> <i

Font-awsome icons not showing in Angular CLI: 8.2.2 instead showing squares

回眸只為那壹抹淺笑 提交于 2019-12-24 12:41:54
问题 I have installed Font awesome via npm install --save font-awesome angular-font-awesome from https://www.npmjs.com/package/angular-font-awesome. Linked it in angular.json "styles": [ "src/styles.css", "node_modules/font-awesome/css/font-awesome.min.css" ] in index.html i have linked the library <link rel="stylesheet" type="text/css" href="../node_modules/font-awesome/css/font-awesome.min.css"> my html code for the icon looks like this: <i class="fa fa-facebook-f"></i> and still squares are

Font Awesome hover of stacked icons not working properly

只谈情不闲聊 提交于 2019-12-24 12:07:37
问题 I am facing a Problem regarding the hover effect of my icons. Here is my HTML: <div class="container"> <div class="row"> <div class="col-md-6 text-center"> <a href="#"> <span class="fa-stack fa-5x"> <i class="fa fa-circle fa-stack-2x"></i> <i class="fa fa-wrench fa-stack-1x fa-inverse"></i> </span> </a> </div> <div class="col-md-6 text-center"> <a href="#"> <span class="fa-stack fa-5x"> <i class="fa fa-circle fa-stack-2x"></i> <i class="fa fa-lightbulb-o fa-stack-1x fa-inverse"></i> </span> <

FontAwesome Installed with MiKTeX Console not Working

自作多情 提交于 2019-12-24 10:47:28
问题 I've added the fontawesome package from the MiKTeX console, but when trying to create the document in TeXworks using XeLaTeX, I get the following error: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! fontspec error: "font-not-found" ! ! The font "FontAwesome" cannot be found. ! ! See the fontspec documentation for further information. ! ! For immediate help type H <return>. !............................................... I'm using Windows 10, and on a previous machine I got my tex file

Change icon from jQuery UI to FontAwesome in PrimeFaces

牧云@^-^@ 提交于 2019-12-24 10:09:22
问题 I have a PrimeFaces p:tree and I was able to add font awesome expanded and collapsed icons using this, but there is an arrow icon before that which is from PrimeFaces and I was not able to figure out how to switch it font awesome arrows ( fa-arrow-circle-down and fa-arrow-circle-right ), or changing the color to white also suffices my need. I have looked at the Firebug and found that the PrimeFaces arrow is from an image url("/permitweb-1.0/faces/javax.faces.resource/images/ui-icons_616161

Font Awesome icons not working as links

霸气de小男生 提交于 2019-12-24 08:49:37
问题 My font awesome icons aren't linking to where I set the href on the a tag. In fact when I inspect them there is no href on the a tag. I have some demo code for you to look at, but on the demo code it does show the href when inspecting it just doesn't link to the page. Maybe if this code is fixed it will fix my issue. Thanks <a href="https://www.google.co.uk/"> <i class="fa fa-facebook-official fa-3x" aria-hidden="true"></i> </a> <script src="https://use.fontawesome.com/7c396dc5cb.js"></script

Rotate Font-Awesome Icon 180deg Inside Dropdown Button

▼魔方 西西 提交于 2019-12-24 03:42:50
问题 I've created some custom button styles and turned them into dropdowns using bootstraps dropdown classes. When I click the buttons, I want the font-awesome icon inside to rotate 180 degrees while the dropdown is open, and to rotate 180 degree the opposite way, back to it's original position, after the button loses active/focus. The code I've been able to right rotates the icon 180deg, pointing it up. But I can't get it to rotate back down. Also, I have these 2 css classes. I've been leaving

font awesome not working in ie9 & ie11 compatibility mode

前提是你 提交于 2019-12-24 02:57:30
问题 Font Awesome renders perfectly in Chrome, Firefox, Safari, Opera, and Internet Explorer 11 in standard mode. When Compatibility Mode turned "On" on IE9 OR IE11 no icon render. Here is my HTML Structure on IE9 (Compatibility Mode turned "On"): <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"> <html> <head> <meta content="text/html; charset=UTF-16" http-equiv="Content-Type" /> <meta content="IE=9; IE=8; IE=7; IE=EDGE" http-equiv="X-UA-Compatible" /> <meta name="viewport" content=