Comments Kasper started the conversationJune 10, 2015 at 12:13amHi guysHow can I change the basket icon to a .png file that I have?- Kasper 9,013Tahir repliedJune 10, 2015 at 3:00pmHey ,Simply change the url in css. Add this into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box) :.woocommerce .classic .product-wrap .add_to_cart_button { background-image: url(../img/icons/cart-add.png)!important; }Thanks ThemeNectar Support Team Kasper repliedJune 11, 2015 at 12:48pmHi TahirI\'m sorry, but It does not work for me ;-(- KasperKasper repliedJune 13, 2015 at 12:56amJust to be clear: I mean the basket ind the header ;-) 9,013Tahir repliedJune 13, 2015 at 2:48pmHey Again,Add this into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box) :.ascend .icon-salient-cart:before { font-family: \"FontAwesome\"; content: \"\\f07a\" !important; }Thanks ThemeNectar Support Team Kasper repliedJune 14, 2015 at 7:07pmHi TahirThat changes the basket to another default icon, but how can I change it to my own icon? .png?- Kasper 9,013Tahir repliedJune 15, 2015 at 3:33pmHey Again,Add this into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box) :.ascend #header-outer .cart-menu .cart-icon-wrap .icon-salient-cart { background-image: url(http://hvadmeddenher.dk/kongessloejd/wp-content/uploads/2015/06/kurv.png)!important; background-repeat: no-repeat; width: 41px !important; left: -9px !important; } .ascend #header-outer .cart-menu .cart-icon-wrap .icon-salient-cart:before { visibility: hidden !important; }Thanks ThemeNectar Support Team Kasper repliedJune 16, 2015 at 11:57amYour the best - thank you! ;-)Vitaminpatchclub repliedJuly 26, 2017 at 4:11amHello, I'm using Salient Theme 8. and wanted to change out the woocommerce icon in the header. I tried all the code options here and nothing worked. When I use the code: .ascend #header-outer .cart-menu .cart-icon-wrap .icon-salient-cart { background-image: url(http://hvadmeddenher.dk/kongessloejd/wp-content/uploads/2015/06/kurv.png)!important; background-repeat: no-repeat; width: 41px !important; left: -9px !important; } .ascend #header-outer .cart-menu .cart-icon-wrap .icon-salient-cart:before { visibility: hidden !important; }The icon disappears. I tried to resize the my icon to different sizes but that hasn't worked as well. How would I change the icon to my own .png icon? Thank you for your time. 9,013Tahir repliedJuly 26, 2017 at 10:38am@vitamin Please provide the page url so that i can write up the custom css for whats possible. Thanks ThemeNectar Support Team Vitaminpatchclub repliedJuly 26, 2017 at 2:58pmTahir,Thank you for the reply. Below is the site URL. The cart icon is missing. I have the code I posted below in with the URL to my cart icon. http://site1.dexdigitalmedia.comThanks for your help. 9,013Tahir repliedJuly 26, 2017 at 3:01pmAdd this into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box) : .ascend #header-outer .cart-menu .cart-icon-wrap .icon-salient-cart { background-size: 30px; height: 50px; top: -5px; } Thanks ThemeNectar Support Team Vitaminpatchclub repliedJuly 26, 2017 at 3:39pmTahir,Thank you. Below is the code I have and the icon is there but a bit cut off on the right side. I adjusted the margin and it moves over but the icon is still cut off. Any idea how to adjust icon over to the left a bit..ascend #header-outer .cart-menu .cart-icon-wrap .icon-salient-cart { background-size: 30px; background-repeat: no-repeat; height: 50px; top: -5px;} .ascend #header-outer .cart-menu .cart-icon-wrap .icon-salient-cart:before { visibility: hidden !important;}Thanks again for everything. 9,013Tahir repliedJuly 27, 2017 at 10:56amThis is the final code . .ascend #header-outer .cart-menu .cart-icon-wrap .icon-salient-cart { background-image: url(http://site1.dexdigitalmedia.com/wp-content/uploads/2017/07/cart-icon.png)!important; background-size: 30px; background-repeat: no-repeat; height: 50px; top: -5px; width: 40px; left: -5px; } Next time please purchase the Support Package /Verify your purchase .Be.st ThemeNectar Support Team 1 LikeVitaminpatchclub repliedJuly 27, 2017 at 7:53pmThank You Tahir!Totally understand. Sign in to reply ...
Hi guys
How can I change the basket icon to a .png file that I have?
- Kasper
Hey ,
Simply change the url in css. Add this into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box) :
Thanks
ThemeNectar Support Team
Hi Tahir
I\'m sorry, but It does not work for me ;-(
- Kasper
Just to be clear: I mean the basket ind the header ;-)
Hey Again,
Thanks
ThemeNectar Support Team
Hi Tahir
That changes the basket to another default icon, but how can I change it to my own icon? .png?
- Kasper
Hey Again,
Thanks
ThemeNectar Support Team
Your the best - thank you! ;-)
Hello, I'm using Salient Theme 8. and wanted to change out the woocommerce icon in the header. I tried all the code options here and nothing worked.
When I use the code:
The icon disappears. I tried to resize the my icon to different sizes but that hasn't worked as well.
How would I change the icon to my own .png icon? Thank you for your time.
@vitamin
Please provide the page url so that i can write up the custom css for whats possible.
Thanks
ThemeNectar Support Team
Tahir,
Thank you for the reply. Below is the site URL. The cart icon is missing. I have the code I posted below in with the URL to my cart icon.
http://site1.dexdigitalmedia.com
Thanks for your help.
Add this into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box) :
Thanks
ThemeNectar Support Team
Tahir,
Thank you. Below is the code I have and the icon is there but a bit cut off on the right side. I adjusted the margin and it moves over but the icon is still cut off. Any idea how to adjust icon over to the left a bit.
.ascend #header-outer .cart-menu .cart-icon-wrap .icon-salient-cart {
background-size: 30px;
background-repeat: no-repeat;
height: 50px;
top: -5px;
}
.ascend #header-outer .cart-menu .cart-icon-wrap .icon-salient-cart:before {
visibility: hidden !important;
}
Thanks again for everything.
This is the final code .
Next time please purchase the Support Package /Verify your purchase .
Be.st
ThemeNectar Support Team
Thank You Tahir!
Totally understand.