guyv
1
Hi All,
Please can someone assist me.
I am using Venture theme and I would like an image in my product description to display differently on PC and mobile views.
The webpage is: https://electricrideco.com/products/exway-auxpack
I would like the first image in the product description to be different on PC and mobile.
Here is the code that I currently have:
# Exway AUXPack

Here is the link for the image that I would like to display on mobile only:
https://cdn.shopify.com/s/files/1/0612/2546/8142/files/daa8101570b953ff499193204cf2629d.webp?v=1679384446
Thanks for your help!
Guy
Hi, you can replace your code by this one:
# Exway AUXPack


guyv
3
@Dan-From-Ryviu Thanks for your reply!
Is there another way to do this using the class .small–hide or one of the other “hide” classes?
guyv
5
@Dan-From-Ryviu
Thanks for your reply. I’m aware that I can change the class name.
It seems that my theme already has hide classes such as “small–hide” and “medium–hide”.
I’ve tried looking for these in my theme.scss.liquid file as I would like to check the properties for these classes but I can’t find them.
Do you know where I would be able to find this code?
Thanks!
You can use those class
.small--show
.small--hide
.medium-up--show
.medium-up--hide
guyv
7
Thanks Dan.
Do you know here I can find those classes in my code? I would like to check the properties.