Shopify themes, liquid, logos, and UX
I cannot get my slideshow to show up in full width on mobile, is there a fix for this?
Solved! Go to the solution
This is an accepted solution.
Oh okay.
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
.media>*:not(.zoom):not(.deferred-media__poster-button), .media model-viewer {
position: unset !important;
object-fit: contain !important;
}
.banner--medium.banner--mobile-bottom:not(.banner--adapt) .banner__media, .banner--medium.banner--stacked:not(.banner--mobile-bottom):not(.banner--adapt)>.banner__media ,
.banner--small.banner--mobile-bottom:not(.banner--adapt) .banner__media, .banner--small.banner--stacked:not(.banner--mobile-bottom):not(.banner--adapt)>.banner__media {
height: max-content !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
Hey @roseblushstudio,
Can you share the link to your store and maybe a screenshot of the section you mentioned? Thanks!
I haven't launched this version of the site yet but here is the preview for it.
https://1ogniiheerdwwzyb-56170152020.shopifypreview.com
Hey @roseblushstudio,
Seems like it's already full width?
Sorry so what I mean is that the image is being cropped on mobile, instead of being shrunken down? does that make sense?
This is an accepted solution.
Oh okay.
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
.media>*:not(.zoom):not(.deferred-media__poster-button), .media model-viewer {
position: unset !important;
object-fit: contain !important;
}
.banner--medium.banner--mobile-bottom:not(.banner--adapt) .banner__media, .banner--medium.banner--stacked:not(.banner--mobile-bottom):not(.banner--adapt)>.banner__media ,
.banner--small.banner--mobile-bottom:not(.banner--adapt) .banner__media, .banner--small.banner--stacked:not(.banner--mobile-bottom):not(.banner--adapt)>.banner__media {
height: max-content !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
This worked, thank you!
Thank you! This worked for me too.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025