Viewing 23 posts - 1 through 23 (of 23 total)
  • Author
    Posts
  • #242401

    Hi, is it possible to change the fontello ‘cart’ icon to their ‘bag’ icon?

    Also, is their a way to replace ‘cart’ text with ‘bag’ throughout the shop and checkout. I saw an earlier response ( #105797) to this but the code change does not work throughout.

    Thanks
    Steven

    #243214

    Hey bleepstudio!

    In enfold/functions.php search for:

    
    'cart' 			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue859'),
    

    and replace ue859 with any other char code. You can use the icon shortcode “char selector”: http://www.screenr.com/MYsN to get the character code.

    Best regards,
    Peter

    #243343
    This reply has been marked as private.
    #243745

    Hey!

    This should work. Don’t include the backslash on the character code. :)

    Regards,
    Ismael

    #243823

    Hey, Ismael – I did not include the backslash but no icon appeared. Please try it your end and you can see the results.

    Steven

    #243841
    This reply has been marked as private.
    #244026
    This reply has been marked as private.
    #244233

    Hi!

    I reviewed the code and you replaced the cart icon with “ue85a” but I don’t see any way of adding any products to the cart. Can you please point me to the actual shop page where we can see the cart icons? I tested this on my end using the icon that you want and it works as expected.

    Cheers!
    Ismael

    #244325

    Hi Ismael,

    The whole site is no longer working, the source shows:

    <!DOCTYPE html>
    <html lang=”en-GB” class=”<br />
    <b>Fatal error</b>: Call to undefined function avia_header_class_string() in <b>/home/christia/public_html/dev/wp-content/themes/enfold/header.php</b> on line <b>11</b><br />

    Can you please advise UNRGENTLY.

    Steven

    #244375

    Hi!

    I didn’t change anything on your website. I just checked if you replaced the cart icon with something else. Let me check.

    Cheers!
    Ismael

    #244377

    Hi!

    I don’t see the error, only a blank page. Did you add any plugins prior to this issue? It is working ok when I checked it earlier. I didn’t add or change anything on the theme files.

    Cheers!
    Ismael

    #244379

    Thanks you for responding.

    All I see now are blank pages. I got the error by checking the source.

    The site was working last night before I finished. 2 files were updated around 6 hours ago. functions.php in Enfold and functions.php in child theme. I can see there has been code added relating to the cart.

    Please advise on fixing this issue ASAP. I would rather have the site back the way it was with a ‘cart’ icon.

    My client was due to approve the site an hour ago but they can only see blank pages.

    #244386

    Hi!

    I’m sorry about that. Please delete functions.php file on the parent theme folder then replace it with a new one. Let me know if that helps. I didn’t modify anything on the theme files. I just updated it earlier. I’m sure replacing functions.php file via FTP will fix it. Empty the cache if there is any cache plugin.

    Best regards,
    Ismael

    #244388

    Ismael, I need your help – you made the change and I am not sure what I am doing with functions files.

    What would I replace it with, where would I get a new functions file from?

    Are there important changes made to my functions file – would they be on a new one?

    I am using a child theme, does that make a difference?

    Please advise as to a solution.

    #244392

    Hi!

    I’m really sorry about this. I checked the site earlier and I might have accidentally deleted part of functions.php when I clicked the “Update” button. Please download this file then replace the functions.php on the parent theme folder.

    ///////

    I’m really sorry! I hope the file fix it.

    Cheers!
    Ismael

    #244395

    The download link doesn’t work.

    What file are you giving me, maybe you should replace it.

    Please advise ASAP.

    #244396

    Hi!

    If you don’t mind giving me the ftp details. I’ll replaced the functions.php file myself. I’m really sorry that you have to go through with this. I didn’t notice that I highlighted the bottom part of functions.php when I reviewed the code for the cart icon. At least that’s what I thought but I didn’t modify anything on your theme files.

    Another thing you can do if you’re not comfortable giving me the ftp details is to download the theme again from your themeforest account then update the theme via FTP.

    Best regards,
    Ismael

    #244401

    http://ftp.christianmacleod.com
    user: christia
    pass: bleep123

    I can no longer gain access to the dashboard.

    Everyone makes mistakes but I need to know you or someone else has the capabilities to fix the error and are available to look at this right away.

    Please let me know.
    Steven

    #244402

    Hey!

    Woah! It gave me a heart attack. I think it is fixed now! I’m really sorry!

    http://christianmacleod.com/dev/

    http://christianmacleod.com/dev/wp-admin/

    Regards,
    Ismael

    #244408

    There is a lesson to be learned here!

    The ‘cart’ icon appeared before when you click into ‘SHOPCOLLECTION’

    It also appeared when you ‘click on any belt’ to view the product

    Did you fix this and see the bag icon appear?

    Steven

    #244414

    Hey!

    Yes, I can see the bag now but I don’t think I fixed that one. I just replaced the functions.php. I’m just happy that the site is running now. I’m sorry again. :)

    Best regards,
    Ismael

    #244424

    Okay, let’s leave it at that.

    You owe me one!

    Steven

    #244433

    Hi!

    Copy that! Thank you for being patient. :)

    Best regards,
    Ismael

Viewing 23 posts - 1 through 23 (of 23 total)
  • The topic ‘fontello bag icon and replace 'cart' text with 'bag'’ is closed to new replies.