Hiding In Stock text - by CVNTIK - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 4 years, 8 months ago ago by Rose Tyler

  • Avatar: CVNTIK
    CVNTIK
    Participant
    October 1, 2020 at 17:37

    Hi, I’m trying to hide the “in stock” label from my single product page. I have disabled it in woocommerce option but it’s still showing in my product page.

    Also, how do I add the image behind add to cart button like your theme https://xstore.8theme.com/demos/makeup/product/assam/

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 2, 2020 at 08:18

    Hi,

    1) Add the next code in Theme Options > Theme Custom CSS:

    .single-product .stock {
        display: none;
    }

    2)

    .single-product .single_add_to_cart_button {
        line-height: 25px;
        color: #fff !important;
        width: 311px;
        padding: 27px 15px !important;
        background: url(https://xstore.8theme.com/demos/makeup/wp-content/uploads/sites/39/2017/06/pink-img.png) no-repeat;
        background-color: transparent !important;
    }
    .single-product .single_add_to_cart_button:hover {
        background: url(https://xstore.8theme.com/demos/makeup/wp-content/uploads/sites/39/2017/06/black-img.png) no-repeat;
        background-color: transparent !important;
    }

    set URLs of images from your media library.

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

The issue related to '‘Hiding In Stock text’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.