get images in text html only show on desktop not mobile

Solved
Highlighted
Tourist
12 0 1

is it possible to make these images that are placed inside my html product texts only appear on desktops and not on mobile devices?. u can also check it here https://www.yourep.dk/collections/iphone-lightning-kabler/products/lightning-kabel-1-meterbillede.PNG

0 Likes
Highlighted
Shopify Partner
1164 249 345

Hey there,

Please put the following code in your assets/theme.scss.liquid file.

@media only screen and (min-width: 768px) {
.grid__item.rte.product-single__description p span img { display: none; }
}

Thanks!

If helpful then please Like and Accept Solution.
Do you need custom changes on store ? Hire me.
Feel free to Contact me on dmw.webartisan@gmail.com
Follow us on Instagram @dmw.webartisan
0 Likes
Highlighted
Tourist
12 0 1

hello i just tried this but it didnt work :( i could still see the image og mobile devices on all my collections :(

0 Likes
Highlighted
Shopify Partner
4782 708 1513

This is an accepted solution.

@pucino 

can you please try this 

@media only screen and (max-width: 749px){
.product-single__description img {
    display: none;
}
}
If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
Highlighted
Tourist
12 0 1

thanks worked :)

0 Likes