Shopify themes, liquid, logos, and UX
I have some images in a slideshow on my page and when you go from desktop to mobile, the size changes and the image doesn’t adjust to the change. Which is so weird to me. How do I adjust this, because most people shop on their phones over their desktop.
https://smilelabapparel.store/
Solved! Go to the solution
This is an accepted solution.
Hey @smilelab
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
@media screen and (max-width: 767px) {
.slideshow__media.banner__media.media img {
object-fit: contain !important;
background: white !important;
}
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
Hey @smilelab
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
@media screen and (max-width: 767px) {
.slideshow__media.banner__media.media img {
object-fit: contain !important;
background: white !important;
}
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Thank you so much, Moeed! It worked!! 🫶🏽
Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025