Hello,
While working on Debut theme I have encountered a problem with the Hero section and how it displays on mobile and desktop. Now on desktop I really like how it stands but on mobile as you might already know it crops the background image. That is not big of a problem if I could only align it to the left so a better product can be displayed.
Solved! Go to the solution
This is an accepted solution.
Try adding the last line of CSS below. The positioning for the background image is being added to the DIV (inline CSS) rather than in the spreadsheet, but if you add !important it should override the center positioning for devices less than 800px wide.
@media screen and (max-width: 800px) .hero.ratio-container { background-size: 200% !important; max-height: 300px; background-position: left center !important;
}
Thanks!
User | Count |
---|---|
400 | |
202 | |
146 | |
42 | |
40 |