X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Change shopping cart icon in Crisp White theme? (https://forum.x-cart.com/showthread.php?t=75507)

npav 07-14-2017 07:47 AM

Change shopping cart icon in Crisp White theme?
 
Hello,

Looking to change the shopping cart/bag icon in the crisp white theme.

I looked in the theme files and found shopping-bag.png, but it looks like the one from the default theme and changing it doesn't change the one on my site. It looks like it might be part of an icon-font?

Anyway, the end result is I'm looking to edit the shopping bag to look like a cart.

qualiteam 07-19-2017 11:23 PM

Re: Change shopping cart icon in Crisp White theme?
 
Have you seen this module?
https://market.x-cart.com/addons/cart-icons.html

It allows you to upload custom icons for the minicart.

npav 07-20-2017 07:17 AM

Re: Change shopping cart icon in Crisp White theme?
 
For anyone else trying to figure this out, I was able to edit it with CSS in the end.

Crisp White theme *does* use an iconfont, which is xcartfont.ttf, but you can override the shopping bag by using the CSS below.

Code:

/* shopping cart icon */
.header-right-bar .lc-minicart:before {

    display: inline-block;
    content: url(https://www.vanceoutdoors.com/range/images/range-cart.png); /*change this for new icon*/
    width: 70px; /*adjust width to move icon left to right */
}



All times are GMT -8. The time now is 03:42 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.