我正在使用 WooCommerce,我想删除产品图片,而是有一个完整的页面描述/插件。
使用下面的代码,(wp-content/themes/themename/functions.php)我能够成功删除图像
remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_images', 20
但是,左侧仍然有一个大的空白区域。我尝试将代码添加到 wp-content/themes/ themename /custom.css 但它不起作用
.single-product .product .summary { width: auto; }
如何删除空白/空白区域(产品图像通常所在的位置)?