We seem to be having some trouble with the fontAwesome installation.
The reason why the color of the shopping cart isn't changing when using the color
CSS attribute is because the shopping cart is actually being rendered by a sprite:
.icon {
display: inline-block;
width: 16px;
height: 14px;
background: url("http://cdn3.bigcommerce.com/r-13587bfb690318eb6b3c052034841f2aff994eb4/themes/ClassicNext/images/icon_sprite.png") no-repeat 0 -27px;
}
This means that the background
property is loading an image rather than an icon.
You can refer to for more information.
If you make sure to remove the background
, install the other directories, and keep your HTML as is, it should resolve the issue.
UPDATE: Upon further investigation, it appears that fontAwesome has been installed correctly.
To change the appearance of the <i>
element, follow these steps:
<i class="fa fa-shopping-cart" title="View Cart"> </i>
You have the option to customize the size and position for better display, but make sure to include the fa
and fa-shopping-cart
classes to show the shopping cart icon properly.