-
AuthorPosts
-
March 24, 2014 at 11:40 pm #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
StevenMarch 26, 2014 at 9:34 am #243214Hey 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,
PeterMarch 26, 2014 at 2:08 pm #243343This reply has been marked as private.March 27, 2014 at 10:13 am #243745Hey!
This should work. Don’t include the backslash on the character code. :)
Regards,
IsmaelMarch 27, 2014 at 1:38 pm #243823Hey, Ismael – I did not include the backslash but no icon appeared. Please try it your end and you can see the results.
Steven
March 27, 2014 at 2:59 pm #243841This reply has been marked as private.March 27, 2014 at 7:30 pm #244026This reply has been marked as private.March 28, 2014 at 8:22 am #244233Hi!
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!
IsmaelMarch 28, 2014 at 1:18 pm #244325Hi 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
March 28, 2014 at 2:46 pm #244375Hi!
I didn’t change anything on your website. I just checked if you replaced the cart icon with something else. Let me check.
Cheers!
IsmaelMarch 28, 2014 at 2:51 pm #244377Hi!
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!
IsmaelMarch 28, 2014 at 2:57 pm #244379Thanks 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.
March 28, 2014 at 3:08 pm #244386Hi!
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,
IsmaelMarch 28, 2014 at 3:12 pm #244388Ismael, 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.
March 28, 2014 at 3:19 pm #244392Hi!
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!
IsmaelMarch 28, 2014 at 3:25 pm #244395The download link doesn’t work.
What file are you giving me, maybe you should replace it.
Please advise ASAP.
March 28, 2014 at 3:26 pm #244396Hi!
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,
IsmaelMarch 28, 2014 at 3:32 pm #244401http://ftp.christianmacleod.com
user: christia
pass: bleep123I 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.
StevenMarch 28, 2014 at 3:35 pm #244402Hey!
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,
IsmaelMarch 28, 2014 at 3:44 pm #244408There 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
March 28, 2014 at 3:48 pm #244414Hey!
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,
IsmaelMarch 28, 2014 at 3:55 pm #244424Okay, let’s leave it at that.
You owe me one!
Steven
March 28, 2014 at 4:01 pm #244433 -
AuthorPosts
- The topic ‘fontello bag icon and replace 'cart' text with 'bag'’ is closed to new replies.