This topic has 12 replies, 3 voices, and was last updated 8 years, 5 months ago ago by Robert Hall
How do we change the cart icon to a cart instead of a bag?
How do we display the number of products on the cart/bag icon?
Hello,
Please show your site page.
Regards,
Eva Kemp.
.
Hello,
To display the number of products on the cart/bag icon go to Theme Options > General > Header Settings > Cart widget design > select “Animated White”.
You can use Font Awesome icon to change cart icon. Add this code in Global Custom CSS:
.cart-design-2 .shopping-cart-widget .cart-bag::before {
content: "\f07a";
font-family: FontAwesome;
color: white;
font-size: 20px;
}
.cart-design-2 .shopping-cart-widget .cart-bag .badge-number {
background-color: transparent;
}
.cart-design-2.design-white .cart-bag::before {
border-color: transparent;
}
.cart-design-2.design-white .cart-bag .badge-number::before {
box-shadow: none;
}
Regards,
Eva Kemp.
The shopping cart displays now, but it is covering the number of items in the cart.
Hello,
Please also use this css code:
.cart-design-2 .shopping-cart-widget .cart-bag .badge-number {
display: none;
}
Regards,
Eva Kemp.
That worked, but, we’d like it to display only the number of items in the cart instead of the total dollar amount. Is this possible?
Hello,
Unfortunately it can’t be done. Sorry.
Regards,
Eva Kemp.
But the total number of items displays without this CSS:
.cart-design-2 .shopping-cart-widget .cart-bag .badge-number {
display: none;
}
How do we move the number of items so it doesn’t cover the shopping cart?
Hello,
In this case you may use this css code:
.cart-design-2 .shopping-cart-widget .cart-bag .badge-number {
right: 16px;
}
Regards,
Eva Kemp.
Thank you.
Hello,
You’re welcome!
Regards,
Robert Hall
The issue related to '‘Cart icon’' has been successfully resolved, and the topic is now closed for further responses