how can i remove or hide the "Add to Cart" button on my home page and category pages? I am using Magento 2.1 Luma as my main template

1 Answer 1

<style>.catalog-category-view .action.tocart, .action.primary, 
.action.tocompare, a.action.tocompare, .action.tocompare, 
.product-item-actions .actions-primary+.actions-secondary 

Ad that to the top of "Content" on any category where you want to hide the add to cart and the compare buttons.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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