Tagged: Cart
Hi, I would like to change the current icon for the woocommerce cart. Thanks for your suppot.
Hey margaritanem,
Thank you for the inquiry.
You can add the avf_default_icons filter in the functions.php file to replace the default icons in the theme.
add_filter('avf_default_icons','avia_replace_standard_icon', 10, 1);
function avia_replace_standard_icon($icons)
{
$icons['cart'] = array( 'font' =>'entypo-fontello', 'icon' => 'ue800');
return $icons;
}
// https://kriesi.at/documentation/enfold/icon/#change-icon-used-for-standard-theme-elements-
Replace the value of the icon key with the character code of the icon that you want to use. Please check the documentation below for more info on how to retrieve the character code of a specific icon.
// https://kriesi.at/documentation/enfold/icon/#how-to-find-the-icon-unicode
Best regards,
Ismael
Hi Margarita,
I think there only two options, either use a child theme or some plugin to insert the PHP code Ismael gave.
If you can give us FTP access and a link to your site, then we’ll try to add it for you.
You can post the credentials in private content.
Best regards,
Nikko