Nick Arthur Nick Arthur - 18 days ago 5
CSS Question

Change color of icon Font Awesome

I downloaded a theme that has font awesome icons on the navbar section. When I try to change the color of that icons it remains the same.

I tried

.fa-home {

But it doesn't work.


Try to apply the style to the :before element, where the icon is.

.navbarClass li [class^="fa-"]:before,
.navbarClass [class*=" fa-"]:before {
    color: #COLOR;