Hide First And Second Image In Product Page

Hello,

I want to hide the first and the second images on my product page, or hide a specific images, I use Ella Theme
I’m trying a lot of solution my without resultat if someone can help me.

Hello @ameliaprints ,

You can try to follow these steps:

  • Go to Online Store → Themes → Actions → Edit code
  • Go to Assets folder → add this following code at the bottom of page
.product-image-class:nth-child(1),
.product-image-class:nth-child(2) {
  display: none;
}

Replace .product-image-class with the appropriate CSS class or selector for the product images you want to hide. You can typically find this information by inspecting the HTML elements using your browser’s developer tools.

  • Save changes

Hope this can help. Let us know if you need any further support.

Ali Reviews team.