Stefik Posted April 7 Posted April 7 Does anyone have the solution to hide the product variant images in the product gallery and only have them display when a product variant is selected?
humxahafeex Posted April 8 Posted April 8 Please share your website link so we can have a look and help you out with it.
humxahafeex Posted May 24 Posted May 24 (edited) Hi here you go please put this CSS on Shop >Advance> Page Header Code Injection. <style> div.ProductItem-gallery-scroll > div > button:nth-child(n+14){ display:none !important; } </style> In code above where it says (n+14) , 14 means that start hiding images from 14th one. If you want to adjust you can simply change it like 10, 15 etc. It's tested and worked fine , Please do mark it solved if it works for you. Edited May 24 by humxahafeex More Info
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment