WordPress.org

Support

Support » How-To and Troubleshooting » Remove a WooCommerce Button

Remove a WooCommerce Button

  • On my wordpress theme, by selection ‘inspect element’ on chrome, I have following html

    Add to cart

    I want to change the visibility:visible to visibility:invisible

    Where do I change this? I’ve checked functions.php and styles.css but no luck.

Viewing 2 replies - 1 through 2 (of 2 total)
  • <a href="/?add-to-cart=1284" rel="nofollow" data-product_id="1284" data-product_sku="BDA01" class="button add_to_cart_button product_type_simple" style="visibility: visible; opacity: 1; top: 81.5px;">Add to cart</a>

    The code…..

    Hi CalvT,

    You can hide in style.css with item class.

    a.button add_to_cart_button product_type_simple {
    display:none !important;
    }

    Regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove a WooCommerce Button’ is closed to new replies.
Skip to toolbar