Home Forums WoodMart support forum Hiding “Out of Stock” Label on Products

Hiding “Out of Stock” Label on Products

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #544941

    sahalshazz777
    Participant

    I’d like to hide the “Out of Stock” label from all product listings. I’ve looked through the theme settings but couldn’t find a built-in option for this.

    #545161

    Hung Pham
    Keymaster

    Hi sahalshazz777,

    Thanks for reaching to us.

    Add the following Custom CSS code to Theme Settings > Custom CSS > Global Custom CSS:

    body .product-labels .out-of-stock {
        display: none;
    }

    Regards,

    #546136

    sahalshazz777
    Participant

    I’ve uploaded the code to my theme, but unfortunately, it hasn’t made any changes.

    Attachments:
    You must be logged in to view attached files.
    #546330

    Hung Pham
    Keymaster

    Hi sahalshazz777,

    Please remove previous code and use below one

    .product-labels.labels-rounded .product-label.out-of-stock{
        display: none;
    }

    Regards,

    #546862

    sahalshazz777
    Participant

    it works in single product page but it still showing on the product shop page

    Attachments:
    You must be logged in to view attached files.
    #546874

    Hung Pham
    Keymaster

    Hi sahalshazz777,

    I tested on my end and the code worked on categories as well.

    Please provide URL of the mentioned page, so I can take a closer look.

    Regards,

    #546876

    sahalshazz777
    Participant

    Ys it’s working now , Thank you

    #547202

    Hung Pham
    Keymaster

    Hi sahalshazz777,

    Glad to hear your issue has been resolved. Keep us in mind for future questions and concerns, we’re always here to help!

    If you have a quick minute we always appreciate a 5-star rating on our theme!

    https://themeforest.net/item/woodmart-woocommerce-wordpress-theme/reviews/20264492

    Your feedback is the motivation to improve our work and services.

    Regards,

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Hiding “Out of Stock” Label on Products’ is closed to new replies.