Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1126459

    Our goal is to remove product images completely.
    I used the following code in the functions.php file:
    remove_action( ‘woocommerce_before_single_product_summary’, ‘woocommerce_show_product_images’, 20 );

    However, I have a problem removing the left column in which the gallery was.

    https://ibb.co/JFDhvYX

    I used the following code in the child style.css file:
    .single-product-main-image {display: none!important; }

    In addition, I would like to delete all photo thumbnails in the store, categories.

    • This topic was modified 5 years, 3 months ago by creativeopole.
    #1126497

    Hey creativeopole,

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,
    Victoria

    #1126611

    There is a link in the private section. I think it was possible to hide pictures on the product page. However, I can’t find a woocommerce hook to hide pictures on the store page and category.

    #1127129

    Hi creativeopole,

    I guess it’s only css. Please have a look at this article:
    https://wphowto.net/remove-image-from-woocommerce-product-page-1678

    Best regards,
    Victoria

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