The cart is currently a fontello icon
i wish to change it to icon fontello e80e
thanks
Hey vonone,
Please refer to the following:
https://kriesi.at/support/topic/change-woocommerce-cart-icon-to-custom-fontello-icon/
Best regards,
Jordan Shannon
i just put it. it is not replaced perfect as the aligment is wrong,
can you assign in styling this correctly.
This modification is making the scrollbar appear on the right on the pc
thanks
.cart_dropdown_link > span:before {
content:’\e80e’;
}
Can you see why it appears this way on the site please.
I changed to the bag icon and still same issue
.cart_dropdown_link > span:before {
content:'\e85a';
}
}
OK i figured out a better way using functions.php and it works you may close this
// WooCommerce: enfold change cart to bag start
//// =============================================================================
add_action(‘init’, ‘avia_replace_default_icon’, 10, 1);
function avia_replace_default_icon($icons) {
global $avia_config;
$avia_config[‘font_icons’][‘cart’][‘icon’] = “ue85a”;
$avia_config[‘font_icons’][‘cart’][‘font’] = ‘entypo-fontello’;
return $icons;
}
// =============================================================================
// WooCommerce: enfold change cart to bag end
Further add to quick-css
.cart_dropdown_link {
right: 1px;
}
this will fix the number of items getting cut off bt the scroll bar
Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon