Shopify themes, liquid, logos, and UX
Hello
I have a problem I can't make this photo to show only on desktop I did everything every code but nothing worked
Did one for only mobile but for desktop version nothing seems to work.
please help me out ❤️
Hi @Toypop , go to section-image-banner.css and add the following code to the end of it :
@media (max-width:799px){
div#Banner-template--22284692717833__image_banner_GjkxaY .banner__media {
display: none;
}
}
Hi,
thanks but unfortunately it is not working
@Toypop , it seems that you have other code that hide the whole section on mobile screen, try to remove this code first and then add my code to only hide the image.
Hello
thanks for suggestion but sadly it doesn't work, have a look
@Toypop , Go to section-image-banner.css and add the following code at the end of it :
@media (max-width:800px){
.banner__media.media.banner__media-half {
display: none;
}
}
Result:
Still nothing just adds the code under it
Here
@Toypop , This is the image-banner.liquid , you should put the code in section-image-banner.css , you can find it in the assets folder of your theme.
Sadly same thing
Sorry I confused you a bit i need to leave one section only on desktop and hide it from pc 😞
Hi @Toypop
This may help, You can assign different image on the desktop and the mobile screen.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hello
Thanks but sadly it don't work and on top of that it only messes with my site
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025