-
AuthorPosts
-
October 9, 2015 at 11:01 pm #516697
Reference support forum post: #177320
I simply need to change the woocommerce cart icon to a different icon. now its: UE859
Want to change to: entypo fontello: UE800 (supposed to be a lock icon)
Simple thing, cannot figure it out. nothing seems to be correct. I either get a musical note icon or other codes give no glyph at all – just blank.
REALLY would like to have a proper shopping bag icon somthing like: https://www.colourbox.com/preview/9971791-shopping-bag-icon.jpg
But the closest thing available with entypo is the lock icon.HELP! thank you!
October 9, 2015 at 11:24 pm #516698zOrg, good question and I’m now subscribed to this thread, but it might be helpful to you to know that you can make your own icons in adobe illustrator or whatever then upload them to fontello.com, then in turn use them in Enfold. So you could easily make your own shopping bag icon, then once you get the answer to this thread, attach that icon to your cart. Hopefully this at least half-helps.
October 12, 2015 at 8:39 am #517165Hi!
Thank you for using Enfold.
Please try to add this in the functions.php file in order to change the icon:
add_action('init', 'avia_replace_default_icon', 10, 1); function avia_replace_default_icon($icons) { global $avia_config; $avia_config['font_icons']['cart']['icon'] = 'ue800'; $avia_config['font_icons']['cart']['font'] = 'fontello'; return $icons; }
Adjust the font set (fontello in the example) to the font set where the uploaded icon belong.
Regards,
IsmaelMay 21, 2018 at 4:26 am #959562Is there an updated way to do this? I am trying to change the cart icon in a new 2018 enfold website.
May 21, 2018 at 9:37 pm #959989Hi,
Have you tried that function and it is not working for you?
Best regards,
BasilisMarch 31, 2020 at 10:08 pm #1199560This doesn’t work.
April 3, 2020 at 9:38 pm #1200644Hi fulanoinc,
Please try this code:
add_action('init', 'avia_replace_default_icon', 10, 1); function avia_replace_default_icon($icons) { global $avia_config; $avia_config['font_icons']['cart']['icon'] = "ue82f"; $avia_config['font_icons']['cart']['font'] = 'entypo-fontello'; return $icons; }
If you need further assistance please let us know.
Best regards,
VictoriaApril 3, 2020 at 9:45 pm #1200648That worked perfectly!
Thank you, Victoria
April 4, 2020 at 4:53 am #1200728Hi,
I’m glad this was resolved. If you need additional help please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Woocommerce change shopping cart icon to different icon’ is closed to new replies.