I am wanting my image banner to be full screen for desktop and mobile. Currently it’s only full screen on desktop and only half the screen on mobile.
PW:eachar
I am wanting my image banner to be full screen for desktop and mobile. Currently it’s only full screen on desktop and only half the screen on mobile.
PW:eachar
You will need to add 2 separate sections for mobile and desktop and customize an image for the mobile version to make it to be full screen on mobile
To make your image banner full screen on both desktop and mobile, you can apply some CSS styles to adjust its size. Here’s how you can achieve this:
Identify the CSS selector for your image banner: You’ll need to locate the CSS selector for the element that represents your image banner. This can vary depending on your theme’s structure and customization.
Apply CSS styles for full-screen display:
.your-image-banner-selector {
width: 100%;
max-width: 100%;
height: auto;
}
Replace .your-image-banner-selector with the actual CSS selector for your image banner.
For mobile: By default, mobile devices may have a different layout or responsive behavior. To make the image banner full screen on mobile, you can adjust the CSS styles accordingly. For example:
@media (max-width: 767px) {
.your-image-banner-selector {
width: 100%;
max-width: 100%;
height: auto;
}
}
Hello @lovej12 ,
You’re currently using a spotlight theme, which offers four options (Adapt, Small, Medium, Large) for image height adjustment in a slideshow.
None of these will adjust the image to full screen (excluding header height).
For this, follow the below steps:
.banner {
height: calc(100vh - var(–header-height));
}
Hope it helps. Let us know if you need any further help with the Shopify store.
All the best,
CedCommerce