Hide Woocommerce breadcrumb
-
Hi,
If you go all the way to the bottom, its showing a breadcrumb, how do I hide this specific breadcrumb?
-
This topic was modified 1 year, 9 months ago by
mwick.
I tried this;
add_filter( ‘woocommerce_before_main_content’, ‘remove_breadcrumbs’);
function remove_breadcrumbs() {
if ( is_product_category(‘gezondheid-schoonheid’) ) {
remove_action( ‘woocommerce_before_main_content’,’woocommerce_breadcrumb’, 20, 0);
}
}
But its not working.
Hello,
Please add this code to the Theme Settings > Custom CSS:
.woocommerce-breadcrumb {
display: none;
}
Best Regards.
Hi,
Thanks for your anwser
And for a specific category?
Hello,
Breadcrumbs are the functionality of Woocommerce and our theme doesn’t influence this feature, our theme has the option to hide but not to change. Please try to search for a plugin that may change the breadcrumbs.
Best Regards