How to remove breadcrumbs from category page in Magento 2

Add below code to remove breadcrumbs from category pages

app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml

<referenceBlock name="breadcrumbs" remove="true" />

For remove toolbar

<referenceBlock name="product_list_toolbar" display="false" />

Remove var/cache and var/page_cache folder.

Thank you for the information this was helpful. For Magento 2.2.5 use the code below

<referenceContainer name="breadcrumbs" remove="true" />


Add below code to remove breadcrumbs from category pages

app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml

<referenceBlock name="breadcrumbs" remove="true" />

And for removing toolbar, Comment out below line form list.phtml

app/design/frontend/Vendor/Theme/Magento_Catalog/templates/product/list.phtml

the 2 lines with

<?php echo $block->getToolbarHtml() ?>

You can see more here


Navigate to

app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml

and put below code in <body> tag

<referenceBlock name="breadcrumbs" remove="true" />
<referenceBlock name="product_list_toolbar" display="false" />

Tags:

Magento2