Shopify themes, liquid, logos, and UX
Hi, I am having trouble with my image banner on mobile. For desktop the full photo fits in the image banner, but for mobile the top, bottom and sides are chopped off. The full image is not being used in the banner. I have tried adding code I found on numerous community pages. but nothing is working for me. Can someone please help
Solved! Go to the solution
This is an accepted solution.
Hi @magneticprints ,
Can you please try adding below css to the base.css file?
@media (max-width: 767px) {
.animate--fixed > img:not(.zoom):not(.deferred-media__poster-button) {
position: unset;
height: -webkit-fill-available;
}
}
If you require further help to optimize or customize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
LuffyOnePiece
Hi @magneticprints ,
Can you please send me preview url of the store?
Thank you
@magneticprints Please provide website url
Sure. magneticprints.com.au
This is an accepted solution.
Hi @magneticprints ,
Can you please try adding below css to the base.css file?
@media (max-width: 767px) {
.animate--fixed > img:not(.zoom):not(.deferred-media__poster-button) {
position: unset;
height: -webkit-fill-available;
}
}
If you require further help to optimize or customize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
LuffyOnePiece
Thank you LuffyOnePiece! That works brilliantly!
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024