It seems like the default product image is set to image position 2 on hover, but you’d like to change it so that image position 1 is shown as the default image and then hover displays image position 2.
To make this change, you’ll likely need to adjust the product image settings in your theme’s JavaScript or Liquid files. Here’s how to approach it:
Follow these steps:
Online Store
Themes
Edit Code
Find the product-template.liquid or the relevant file under Sections or Snippets where product images are rendered.
Look for the code related to the product images, which may involve loops displaying the image positions.
Modify the Image Order:
-Identify the code that defines the image positions (like image_1, image_2).
To make image position 1 the default image, ensure that the first image is set as the default for the main image view and that the second image appears on hover.
Edit the Hover Effect:
Locate the hover functionality, often in the theme’s JavaScript files (like theme.js).
If there’s an image swap event triggered on hover, modify it to trigger from the correct positions.
If you prefer, I can assist you further with specific code snippets or guide you through more detailed changes. Let me know!
If I was able to help you, please don’t forget to Like and mark it as the Solution!
If you’re looking for expert help with customization or coding, I’d be delighted to support you. Please don’t hesitate to reach out via the email in my signature below—I’m here to help bring your vision to life!