Changing the my cart text to cart icon

Modern e-commerce WordPress theme to build successful online store with WooCommerce support.
GK User
Tue Apr 21, 2015 2:06 pm
Hi,
I wanted to change the my cart text to the cart icon. I have tried to do it and havent managed to change it
User avatar
Senior Boarder

GK User
Wed Apr 22, 2015 8:42 am
Hi,

Try with the following code:
Code: Select all
#btn-cart {
   background: url('path_to_image');
   text-indent: -9999px;
}
User avatar
Moderator

GK User
Thu Apr 23, 2015 8:13 am
Change the code into:
Code: Select all
#btn-cart {
   background: url('../images/cart_icon.png');
   text-indent: -9999px;
   width: 50px;
   height: 50px;
}
User avatar
Moderator

GK User
Sat Apr 23, 2016 12:59 pm
Do I have to pay attention to this warning?
User avatar
Fresh Boarder

Joshua M
Mon Apr 25, 2016 8:18 am
Hi,

Are you using RTL language on your website? Anyway, this css code is used to hide default logo text when the image is displayed
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.