I am having trouble removing the Add to Cart button from a collection page and from the product pages of the product in this collection. I ONLY want to remove the button from a specific collection and not all collections. I created a new collection template and thought the Custom CSS field would allow me do achieve this, but I can’t seem to find the right selector to remove the button. Does anyone know what selector/code to use or have a different solution that could work?
Hi,
This is the current collection page: https://weightlifting101.com/collections/weightlifting
I created a copy of that collection template for the collection from which I want to remove the button, but I as I haven’t found a solution to this, that collection page has not been published. Apart from the button, the structure of these collections would be the exact same.
Is that what you need to take a further look into it?
Editing the theme.liquid file would have changed the collection page that I wanted to keep as is, wouldn’t it? In this way, I was able to remove the button from only the new template which is what I wanted to do.
I tried to apply what you wrote above … but it didnt work… still showing add to cart option… (note that I applied already a CSS code for no price either on that collection)