Hide image gallery in Woocommerce if NO image [closed]

WooCommerce adds classes to indicate when a product has a thumbnail specified, so you can address this with CSS.

.product .images { display: none; } /* hide images div by default */
.product.has-post-thumbnail .images { display: block; } /* show images div when thumbnail is present */

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)