Please add this code to Custom CSS of the mobile’s slideshow section
.media img {
object-fit: fill;
}
A Shopify store owner created separate slideshow banners for desktop and mobile versions. The desktop banner includes text embedded in the image, while the mobile version uses default text overlays to allow the image to fill the entire screen.
The core issue: The mobile banner image wasn’t displaying fullscreen as intended, unlike the desktop version which fills the viewport completely.
Solutions attempted:
object-fit: cover and object-position: center propertiesobject-fit: fill targeting the banner media element100vh (viewport height) via custom CSSResolution: The issue was resolved when the store owner applied CSS code setting .banner { height: 100vh; } to the mobile section’s custom CSS. This achieved the desired fullscreen effect similar to the Fear of God website reference provided.
The discussion demonstrates a common responsive design challenge where different image treatments are needed across devices.
Please add this code to Custom CSS of the mobile’s slideshow section
.media img {
object-fit: fill;
}