Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Change cart icon
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Change cart icon
- This topic has 15 replies, 5 voices, and was last updated 10 years by Melanie – SUPPORT.
-
Posted in: Neighborhood
-
September 20, 2013 at 9:48 am #23017
Hello!
I wonder if its possible to change the cart icon for another one from “Font awesome”.
Thanks so much.September 20, 2013 at 10:59 am #23036Hi,
You can but you would have to modify framework code. In following path and file : neighborhood\includes\swift-framework\sf-content-display\sf-header.phpPlease see Screenshot Link: http://prntscr.com/1sd4bb you have to change the class name there on line 619 to the other font name . As can be seen here on my localhost http://prntscr.com/1sd51p .
Let me know
Thanks
TahirSeptember 21, 2013 at 7:21 pm #23182Hey Tahir,
I tried that and it does work when the page loads i can see a new icon but when it’s loaded (after less than 1 second) the normal cart icon appears again..?
September 23, 2013 at 10:50 am #23394I’ll assign this to Tahir again ๐
September 23, 2013 at 12:36 pm #23420Hi, Please provide url so i can see what css is overriding it.
Thanks
TahirSeptember 23, 2013 at 1:34 pm #23429It happend the same to me. One second and then the icon change to the sf-icon.
Im working in a proof platform so I dont have a proper url yet. So if artshowapplepie can give it to you and you solve the problem that would be awesome.
Thanks for the supportSeptember 23, 2013 at 7:58 pm #23469Hi ,
Please see Screenshot Link: http://prntscr.com/1t28yc . There is another reload happening so you need to change the class in two places.
Thanks
TahirSeptember 25, 2013 at 8:02 am #23690Hi Tahir,
Sorry for the late reply i’ve been having problems with my internet connection..
Ok ik tried to change the icon in 2 places (i simply changed all the sf-cart mentions in the sf-header.php file), but nothing happens.
Thing that happens now is a longer loading time. I bet i do something wrong here but i can’t seem to find what it is..
September 25, 2013 at 8:04 am #23691Ps. i aslo changed the sf-woocommerce php file but that doesn’t do the trick for me…
September 25, 2013 at 12:57 pm #23723Hi,
@artshowapplepie i tested it on my localhost , it is working. Please try to clear cache, both browser and server.Thanks
TahirSeptember 25, 2013 at 1:24 pm #23731Hi Tahir,
Can you check on http://www.nip10.nl/test i can’t see it even after empty’ing catch and everything ๐ let me know if you can see it haha
September 26, 2013 at 8:36 am #23826Hi,
Please see Screenshot Link: http://prntscr.com/1tjbs2 . I cant see it. you have likely not changed it correctly. Or the changes you made didnt save. Please re-check.
Thanks
TahirOctober 24, 2013 at 8:40 am #28142Hi there,
I have the exact same issue changing the cart icon. I have replaced “sf-cart” with for example “icon-shopping-cart” three places. two in the sf-header.php file and one in sf-woocommerce.php and it stil dosen’t work. When I inspect my page the code hasn’t event been changed, so the <i> tag still has the “sf-cart” class. When i change it manually in inspector mode, the icon i want is appearing. So I guess something is overwriting it?
October 24, 2013 at 8:40 am #28147last screenshot
October 24, 2013 at 11:51 am #28179Nevermind. There was a delay on updating my files. It’s fixed now. Remember to delete the old icon in the css (background image)
-
Posted in: Neighborhood
You must be logged in and have valid license to reply to this topic.