Hiding the woocommerce buy button on the homepage

Posted in: Newspaper
Post count: 9

Hello, I was hoping someone could help me hide/remove the woocommerce ‘buy now’ button when featuring woo products on the homepage. I’m using the woocommerce short code module to feature a few products, but under each image with text is the button I can’t seem to get rid of. On the actual product page it makes sense, but is there a simple fix in the theme panel? Or simple CSS code? Where would CSS code be added to do that? Thanks in advance. I appreciate your help.

Post count: 21065

Hello!

Please provide a link to your website in order to take a look, to the button you are refer and in this way I will be able to help you.

Thank you!

Post count: 9

Hello, thanks for your reply.

Please check my site at laudlinx.com… I would like to remove the ‘Buy Now on Amazon’ button from the homepage. I want the button to show only on the product page. I tried making the button and text colors white, but the buttons would still show when the mouse hovered over them, so not a good enough fix.

Much appreciated!

Post count: 21065

Hello!

Please try to add this code in Newspaper -> Theme panel -> Custom code -> Custom CSS:

.woocommerce ul.products li.product .button {
display: none !important;
}

Let me know about your results!

Thank you!

Post count: 9

Worked perfectly 🙂 Thank you much, Bettina!!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.