This worked for me:
.icon-cog {
color: black;
}
For versions of Font Awesome above 4.7.0, it looks this:
.fa-cog {
color: black;
}
More Related Contents:
- How to change the inner white color of Font Awesome’s exclamation triangle icon?
- Font Awesome 5 on pseudo elements shows square instead of icon
- Put icon inside input element in a form
- Li item on two lines. Second line has no margin
- How to center text vertically with a large font-awesome icon?
- What characters can be used for up/down triangle (arrow without stem) for display in HTML?
- Use Font Awesome icon as CSS content
- Font Awesome icon inside text input element
- HTML: Changing colors of specific words in a string of text
- How do I add a “search” button in a text input field?
- Changing highlight color
- Why cannot change checkbox color whatever I do? [duplicate]
- I can’t get my font-awesome icons to show up. Tried importing css with multiple methods
- How do I add a Font Awesome icon to input field?
- CSS for changing color of last word in h1
- Font Awesome icons are not working, I have included all required files [closed]
- Font awesome is not showing icon
- How to vertically align text with icon font?
- Change color of bootstrap navbar on hover link?
- Font Awesome & Unicode
- Convert RGBA to HEX
- How to collect and manipulate data in HTML using
- Imitating a blink tag with CSS3 animations
- How can I force a long string without any blank to be wrapped?
- 100% Min Height CSS layout
- Equal space between flex items
- How to get a child element to show behind (lower z-index) than its parent?
- Why is nth-child selector not working?
- Auto height on parent container with Absolute/Fixed Children
- Display text, a dotted line then more text spanning the width of the page