Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
becksebastian

Different pictures on mobile and desktop

Question

Site URL: https://www.tutti-palette.de

Hey,

I am wondering if it is possible to change the first picture of my products just on my mobile site. I have an online shop. In the desktop version you can hover over the first picture. Then you see the second picture. On my mobile version I would love to see the second picture directly (because it don`t have the hover effect).

Is it possible? How would you make it?

Thank you very much.

Share this post


Link to post

4 answers to this question

Recommended Posts

  • 0

Add to Home > Design > Custom CSS

@media screen and (max-width:640px) {
.ProductList-innerImageWrapper>img:first-child {
    opacity: 0 !important;
}
.ProductList-innerImageWrapper>img:last-child {
    opacity: 1 !important;
}
}

 


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0

Thanks for your reply. I added that code to the custom css page. If I load my mobile page with that code I can`t see any preview picture. Do you know how I can fix that?

754270011_MbelausEuropaletten-ShoptuttiPALETTE.thumb.png.7a48426c001b2e36c82a788292b6f3bf.png

Share this post


Link to post
  • 0

Seems fine here. Did you solve?


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0

No I did not solve the problem. I deleted the code again. Because with the code I couldn`t see any preview picture. The desktop and mobile version are the same at that moment. I see the picture just with the product.

But actually I try to see another preview picture on the mobile version as on the desktop version. That means: Every product object is built on the same way. The first picture shows just the product. On the second picture you the product with environment. On the desktop version I like to see just the product first. But on the mobile version I would like to see the picture with the environment first.

Do you know what I mean? 🙂

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...