Archived topic
Change svg icon with custom icon
3 replies · Started by Samuel on November 24, 2022
Hi,
i already read these docs:
- https://docs.generatepress.com/article/generate_svg_icon/
- https://docs.generatepress.com/article/generate_svg_icon_element/
But i can't find the option how to change the Icon if i use the WooCommerce Mini-Cart Block: https://app.screencast.com/z3zDBLMLUqdrO
The Block has no option to change the Icon... is there a Snippet to change that?
Hi there,
the Theme has no control over the Woocommerce blocks.
It will be managed by the woo plugin and looking at there functions i cannot see a filter for the icons:
Hi David. Thanks so much. That would be kind of cool to do with GB for example with the heading block. Or :)
If you use the theme menu cart then Ying provides a Shortcode method for outputting the menu cart.
It may not be block editing heaven but you at least have some real control over its output:
https://generatepress.com/forums/topic/mostrar-carrito-en-menu-fuera-de-lienzo/#post-2386362