Shopify themes, liquid, logos, and UX
Hi
Hope you are doing well
Website : https://f01138-5e.myshopify.com/
i've a problem with my fixed background position on mobile
On desktop, it's perfect but on mobile, we only see the tree
someone know how to help me ?
Thanks a lot !
Solved! Go to the solution
This is an accepted solution.
That's because all images on mobile now have a fixed height of 345px. I recommend the custom css I mentioned before:
.animate--fixed>img:not(.zoom):not(.deferred-media__poster-button), .animate--fixed>svg:not(.zoom):not(.deferred-media__poster-button) {
height: 56rem!important;
}
Hi Edgard, one of the ways to adjust the behaviour is to change how the theme handles vertical stretch of the image:
.animate--fixed>img:not(.zoom):not(.deferred-media__poster-button), .animate--fixed>svg:not(.zoom):not(.deferred-media__poster-button) {
height: 56rem!important;
}
Hello,
I am San from MS Web Designer.
Here is the solution:
Go to Themes > Customise > go to that section and paste this code here
@media (max-width:749px){
img {height:345px !important}
}
Hope it helps.
Do let me know in case of any concerns.
Regards,
San
If it’s helpful to you, please mark it as a solution.
Need Help with Shopify Design, Migration, Speed, or Custom tasks?
email: hi@mswebdesigner.com
Try Our Conversion Booster app to get more sales | Connect Our Founder Linkedin
Hi, it works for the photo but the logo is deformed on mobile version, any idea ? thanks to you 🙂
This is an accepted solution.
That's because all images on mobile now have a fixed height of 345px. I recommend the custom css I mentioned before:
.animate--fixed>img:not(.zoom):not(.deferred-media__poster-button), .animate--fixed>svg:not(.zoom):not(.deferred-media__poster-button) {
height: 56rem!important;
}
Thanks a lot !
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024