[Resolved] Woocommerce hide category images on shop and catalog pages

Home Forums Support [Resolved] Woocommerce hide category images on shop and catalog pages

Home Forums Support Woocommerce hide category images on shop and catalog pages

  • This topic has 5 replies, 3 voices, and was last updated 4 years ago by David.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1176723
    John

    I have a site where the client does not want to make and upload images for the product categories. He wants the categories and subcategories to show with the products, but with title only, no thumbnails. Can this be done with CSS?

    #1176835
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Would something like this work?:

    .tax-product_cat .wc-product-image {
        display: none;
    }

    Let me know 🙂

    #1177008
    John

    Tom,
    That takes out all the product category images AND the product images. I just want the product category and sub-category images hidden.
    Thanks,
    John

    #1177400
    David
    Staff
    Customer Support

    Hi there,

    try this CSS :

    .woocommerce ul.products li.product-category a img {
        display: none;
    }
    #1180000
    John

    David,

    That looks like it works perfect!
    You guys are GREAT!

    Thanks,
    John

    #1180375
    David
    Staff
    Customer Support

    Glad we could be of help

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