We have the Debut theme and the landscape image we use on our homepage cuts off in mobile app. Is there a line of code that will force the image to resize when viewed in portrait on a mobile phone?
1 Like
yes, please try this code
- Go to Online Store->Theme->Edit code
- Asset->/theme.scss.liquid->paste below code at the bottom of the file.
@media only screen and (max-width: 749px) {
#shopify-section-hero .hero--large {
height: 200px;
}
}