Shopify themes, liquid, logos, and UX
Good day.
I created new page template which having multiple collections (with images) however, when going the mobile view, the images is no fit. Please see below image example:
Here's the deskop view
Here's the mobile view
is there a way that the collection box is same as the image size in mobile view?
the website is https://hazmotorsport.co.uk/pages/black-friday-deals
Hi @Eugene13
To ensure your collection images fit properly on mobile devices, you can adjust your theme's CSS to make images responsive. Here's how:
1-Access Your Theme's Code:
2-Modify the CSS:
This code ensures that on screens 749 pixels wide or smaller (common for mobile devices), the collection images will scale to fit the width of their container while maintaining their aspect ratio.
3-Save and Preview:
If the issue persists, consider the following:
For further assistance, you might find this Shopify Community thread helpful: Collection Product Images Responsive Theme.
If you have other questions, I will also answer them.
Best regards,
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025