Woocommerce change cart icon
-
I spent an afternoon pulling the last hair from my balding head trying to find where to change the default shopping cart icon in Woocommerce. I found that it uses fontawesome (https://fortawesome.github.io/Font-Awesome/)for this icon. To change it I added
#navigation .cart-contents:before {
content: “”;
background: url(‘yourpathhere’) 1px center no-repeat;
}
This CSS was added in the style.css file of my child theme.I hope this helps someone.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Woocommerce change cart icon’ is closed to new replies.