A Shopify store owner using the Flawless theme is experiencing slideshow images being cut off or improperly displayed across different mobile and desktop devices. The theme lacks built-in settings to address this issue, requiring custom code modifications.
Solutions Provided:
CSS object-fit adjustment: Add object-fit: contain or object-fit: fill styling to slideshow images via theme.css or custom CSS in theme.liquid
Theme setting change: Modify slideshow height setting to “Adapt to first image” in the theme customizer
Custom styling code: Insert specific CSS snippets before the </body> or </head> tags in theme.liquid
Current Status:
The original poster tested solutions and confirmed images now fit containers, but reports they appear squeezed on some devices. They’re seeking a way to make the container adapt to the image size rather than forcing images to fit the container dimensions. The discussion remains ongoing as the user looks for a more optimal solution.
Summarized with AI on November 2.
AI used: claude-sonnet-4-5-20250929.
My slides show images are getting cut off on various devices… when i used “inspect” and searched how my website looks on various devices, for few devices it looks fine but for few mobiles and desktop devices the images are cut off.. basically i use flawless theme, and there are no settings to resolve this issue.. if i need to combat this issue i have to edit code maybe… so i need help about this problem… please someone help me..
Thanks @Moeed it did work.. now the images are taking the shape of the container… it looks good but still the images are getting squeezed on some devices even though they are fit… can you help me adapt image size to the whole container.. i mean i want the image size to be taken by the container, not my image to be fit into it.. if this can work it can be better i feel…
Thanks @websensepro it did work.. now the images are taking the shape of the container… it looks good but still the images are getting squeezed on some devices even though they are fit… can you help me adapt image size to the whole container.. i mean i want the image size to be taken by the container, not my image to be fit into it.. if this can work it can be better i feel… ..