Website Building » WooCommerce » How Do I Remove WooCommerce Product Featured Image on a Single Page?

How Do I Remove WooCommerce Product Featured Image on a Single Page?

Last updated on October 1, 2022 @ 11:59 pm

If you want to remove the WooCommerce product featured image on a single page, then you can do so by going to the WooCommerce settings page and clicking on the Products tab. From here, you will want to click on the Display sub-tab and then uncheck the Enable product image checkbox.

This will remove the featured image from all WooCommerce pages except for the shop page and product category pages.

If you want to remove the featured image from only the single product page, then you will need to edit your theme’s template files. In your theme’s directory, locate the single-product.php file and open it in a text editor.

Find the line of code that calls for the featured image and delete it. Save your changes and upload the file to your server.

The featured image can also be removed from the product page using CSS. Just add the following code to your theme’s stylesheet:

.single-product .product .woocommerce-product-gallery{ display:none; }

This will hide the featured image on the product page, but it will still be visible on other WooCommerce pages like the shop page and product category pages.

PRO TIP: If you are using the WooCommerce plugin for your WordPress site, there is a setting to remove the product featured image on a single page. This can be found in the WooCommerce settings under “Catalog.” If you check the box next to “Remove featured image”, the product featured image will be removed from all single pages on your WooCommerce store.

How Do I Remove WooCommerce Product Featured Image on a Single Page?

To remove the WooCommerce product featured image on a single page, you can either go to WooCommerce settings and uncheck the enable product image checkbox, or edit your theme’s template files or add CSS code to your theme’s stylesheet.

Madison Geldart

Madison Geldart

Cloud infrastructure engineer and tech mess solver.