• Hi,

    I have used the following css to remove the “add to cart” button from products on the shop page:

    .woocommerce a.button {
    display: none;
    }

    The problem is that the css also seem to remove the “view cart” “checkout” and the “continue shopping” options from the side cart slide in menu function.

    Anybody that can help solve this problem?

    Thanks in advance!

    Finn

Viewing 1 replies (of 1 total)
  • Hi Finn, this is a late reply but I found your post after I had the same issue. Instead of using the CSS

    .woocommerce a.button {
    display: none;
    }

    I added this code to the theme’s function.php file:

    remove_action( ‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_add_to_cart’);

    No conflicts so your side cart should have all the links, but nothing on the product page ??

Viewing 1 replies (of 1 total)
  • The topic ‘CSS confilct woo side cart / woocommerce’ is closed to new replies.