Shopify themes, liquid, logos, and UX
I added code to our website so that we could upload separate files for the desktop and mobile site, but now the slider only shows images on desktop, when you go to mobile it doesn't show. I think because the code is set up for it to show the mobile image but it's not set up to let me add one for sliders, only mobile. I tried to see if i could add the same code for sliders but not having much luck. Could anyone help? As a side not, i also feel like the slider images are coming out a better quality on larger screens than the banner, not sure if there's something in the code reducing the image quality for the banner.
Example use of banner image with another mobile image on our homepage www.papersmiths.co.uk
Example use of slider not showing an image on mobile on our brands page - https://www.papersmiths.co.uk/pages/all-brands
Solved! Go to the solution
This is an accepted solution.
Yes, I got it. The code Ive shown you is for the banner that prevent the media image to show. Check this code below. Same Instruction.
.slideshow__media.banner__media.media {
display: block;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
in the file section-image-banner.css
there is this css:
@media screen and (max-width: 749px) {
.banner__media:first-child {
display: none;
}
}
Remove it or change the word none to block.
Hi @izzy365
Just like to clarify, you want to show only 1 slide on the mobile screen? And show all on desktop?
Im not sure which slide. But check this one.
@media screen and (max-width: 749px) {
/* 3rd slide */
div#Slide-template--17107201491186__slideshow_EfJCrM-3 {
display: none;
}
/* 1st slide */
div#Slide-template--17107201491186__slideshow_EfJCrM-1 {
display: none;
}
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Sorry I have not explained it very well.
At the moment no images are showing on mobile for the slider section, because of the code that I added for the homepage banner.
For the homepage banner there is two sections where you can upload images, the first image is the desktop image, and the second is the mobile image.
Because of the fact the slider doesn't have a second image section, it means that it isn't showing an image when on mobile.
I just want it so that all the slides show with an image, currently only text is showing.
This is an accepted solution.
Yes, I got it. The code Ive shown you is for the banner that prevent the media image to show. Check this code below. Same Instruction.
.slideshow__media.banner__media.media {
display: block;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thank you so much - this worked!
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025