Site logo

Archived topic

Woocommerce product changes

3 replies · Started by Ketil on June 20, 2022

Viewing posts 1–4 of 4

Hi. Is there a way to hide the product image and use the entire page width for short description using settings or CSS only for Woo products?

Hi there,

the Woocommerce plugin uses hooks to add most of its functionality. Which means you can unhook them, try adding this PHP Snippet to your site to remove the single product images:

remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_images', 20 );
remove_action( 'woocommerce_product_thumbnails', 'woocommerce_show_product_thumbnails', 20 );

Without the images, the content should fill the space, if it don't then let me know and ill assist with that

That worked fine, thanks!

Glad to hear that!

This archived topic is closed to new replies.