Hide out of stock

Home Forums All Other Themes Hide out of stock

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #110463
    SaqibSaqib
    Participant
    • Topics: 33
    • Replies: 103
    • Total: 136
    Member since: October 6, 2016

    Hi,
    how to hide OUT OF STOCK from products VIA CSS (i know how to do it from woocommerce settings) but for some specific purpose i want to hide it through CSS display property, i tried many css classes but failed.
    need help.

    Regards,
    Saqib

    #110479
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30657
    • Total: 30657
    Member since: August 16, 2013

    Hi,

    Kindly show us your website URL?

    Regards,
    Brad

    #110506
    SaqibSaqib
    Participant
    • Topics: 33
    • Replies: 103
    • Total: 136
    Member since: October 6, 2016

    https://chutneyberry.co.uk/product/garlic-naan/

    thanks!

    #110515
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30657
    • Total: 30657
    Member since: August 16, 2013

    Hi,

    Kindly go to Appearance >> Customize >> Basic >> Scroll down to find Custom CSS and paste there:

    .stock.out-of-stock { display:none;}

    Regards,
    Brad

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.