Guest Posted June 17, 2020 Share Posted June 17, 2020 Site URL: https://tresoire-demo.squarespace.com/?nochrome=false Hey Guys! How would i be able to select a certain image for the product hover? We have 2 variants of the same item and I want the second one to be shown on the product hover without the second variant being the second image placement. Is there a way to do choose a specific photo from the product to be the second photo on the hover? Thanks! product hover video.mov Link to comment
tuanphan Posted June 17, 2020 Share Posted June 17, 2020 You want to remove image change on hover for some products? Which product? We can give the code to do this. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Beyondspace Posted June 17, 2020 Share Posted June 17, 2020 Hi So you want to reoder the first 2 images of a products and use them for the hover effect right? Like your reference https://mliuheart.com/collections/shop/products/c1001-1-marked-grey-tshirt BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Guest Posted June 18, 2020 Share Posted June 18, 2020 Hey guys! thanks for the replies. So basically we need to be able to choose which photo of the product will come up as the second photo on the hover effect. Some products will be different due to varied photo amounts. If you could possibly give me a code which enables me to pick exactly which two photos will appear on the shop page - For example either inputting '1' for photo 1 of the carousel and '5' for photo 5 and then when on the shop page the hover effect will use photos 1 & 5 instead of always 1 & 2 Hope this clears it up. I'm far from an expert so it's a little difficult to explain. Thanks guys!! Link to comment
Guest Posted June 18, 2020 Share Posted June 18, 2020 Hey Bangank36, So we have 2 types of the same Item - BLANK and MARKED. Instead of like the reference websites where we have a seperate product page for each product, we want to have MARKED to be an option - Like a colour choice. The problem we're having is to have a coherent product photo carousel that firstly displays all 4 or 5 photos of the BLANK and then shows the MARKED product photos. But on the shop page for the hover photo it shows the BLANK item and the MARKED item without the photos being numbers 1&2 on the product page carousel. hope this makes sense. Thank you for the help! Link to comment
Beyondspace Posted June 19, 2020 Share Posted June 19, 2020 Hi Muffet24, Afraid there is no such option except image order, do you want to change the template files? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
websiteupdate1 Posted October 18, 2021 Share Posted October 18, 2021 So I'm sure this thread is dead by now but thought I would leave an answer after experiencing a lot of pain searching for an answer. This is specific to the hyde template (Brine family) product page but explanation references op template link. When you utilize inspect for the product and you drill down you'll find for each index item there are two images that the product item is pulling for the cover and subsequent hover photo. To update the hover photo you would combine the CSS tags in the template as below: .article-index-1 grid-item-image.grid-image-hover { content: url ("url of the desired image here") } your tags will be different than the grid-item-image but reference the template in the original post to find location. Beyondspace 1 Link to comment
Beyondspace Posted October 19, 2021 Share Posted October 19, 2021 On 6/17/2020 at 3:34 PM, Muffet24 said: Site URL: https://tresoire-demo.squarespace.com/?nochrome=false Hey Guys! How would i be able to select a certain image for the product hover? We have 2 variants of the same item and I want the second one to be shown on the product hover without the second variant being the second image placement. Is there a way to do choose a specific photo from the product to be the second photo on the hover? Thanks! product hover video.mov Recently I have some similar projects for this, and my solution would be using product json data ?format=json to get the variants data via ajax call and select the 2nd images on demand BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment