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!
Shopify and our financial partners regularly review and update verification requiremen...
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