0

I am trying to remove the images from the category page. I am trying to do it within the admin pannel as I only want to remove the images for one specific sub category. Can anyone help out with this?

enter image description here

0

Navigate to your admin panel.

Go to Products > Catalog and select a product you want.

Scroll down to Images and Videos section and click on the image.

Unselect the "Base" role and save.

That should remove the image form the category view. Please reference to this article for more info: https://www.ostraining.com/blog/magento/magento-images/


Or you can use this code to remove images from category pages:

In app/design/frontend/vendor/Theme_Name/Magento_Catalog/layout/catalog_category_view.xml

Add:

<referenceBlock name="category.image" remove="true"/>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.