Viewing 15 posts - 1 through 15 (of 16 total)
  • #23017
    davo
    Member
    Post count: 61

    Hello!
    I wonder if its possible to change the cart icon for another one from “Font awesome”.
    Thanks so much.

    #23036
    Tahir – SUPPORT
    Member
    Post count: 1212

    Hi,
    You can but you would have to modify framework code. In following path and file : neighborhood\includes\swift-framework\sf-content-display\sf-header.php

    Please 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
    Tahir

    #23182
    artshowapplepie
    Member
    Post count: 134

    Hey 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..?

    #23394
    Melanie – SUPPORT
    Member
    Post count: 11032

    I’ll assign this to Tahir again ๐Ÿ™‚

    #23420
    Tahir – SUPPORT
    Member
    Post count: 1212

    Hi, Please provide url so i can see what css is overriding it.

    Thanks
    Tahir

    #23429
    davo
    Member
    Post count: 61

    It 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 support

    #23469
    Tahir – SUPPORT
    Member
    Post count: 1212

    Hi ,

    Please see Screenshot Link: http://prntscr.com/1t28yc . There is another reload happening so you need to change the class in two places.

    Thanks
    Tahir

    #23690
    artshowapplepie
    Member
    Post count: 134

    Hi 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..

    #23691
    artshowapplepie
    Member
    Post count: 134

    Ps. i aslo changed the sf-woocommerce php file but that doesn’t do the trick for me…

    #23723
    Tahir – SUPPORT
    Member
    Post count: 1212

    Hi,

    @artshowapplepie
    i tested it on my localhost , it is working. Please try to clear cache, both browser and server.

    Thanks
    Tahir

    #23731
    artshowapplepie
    Member
    Post count: 134

    Hi 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

    #23826
    Tahir – SUPPORT
    Member
    Post count: 1212

    Hi,
    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
    Tahir

    #28142
    alexanderaagaard
    Member
    Post count: 13

    Hi 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?

    #28147
    alexanderaagaard
    Member
    Post count: 13

    last screenshot

    #28179
    alexanderaagaard
    Member
    Post count: 13

    Nevermind. There was a delay on updating my files. It’s fixed now. Remember to delete the old icon in the css (background image)

Viewing 15 posts - 1 through 15 (of 16 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register