You may have already created a title and inserted it above your product gallery embed in the product.liquid. This guide will show you how to hide the product gallery title when there are no images.
Hide Gallery title for a product with no images - Product Galleries
Step 1 - Give your product gallery title a unique ID
You just have to add one extra bit of coding into the product.liquid gallery title section. Give your galley title a unique liquid ID. This can be anything you want but you can copy our example here:
Step 2 - Add this ID into the Covet.Pics Admin
- Click the product gallery on the left menu
- Click the Customize Product Gallery tab
- Click 'Custom CSS' on the left menu
Insert a hashtag (#) followed by your created ID into the 'Elements to hide' box. In our example
#covet-gallery-title . Once you have saved the gallery, the title will now be hidden for empty product galleries.