I can't optimise Mobile/Desktop image layout for Taste theme

I can’t get my images to look good on both desktop and mobile.

I have two images loaded - one optimised for desktop and one optimised for mobile which are loaded but they seem to be linked.

If I select image size as ‘adapt to first image’ it looks great on desktop but it’s cropped on mobile.

If I select image size as ‘medium’ it looks great on mobile but it’s cut off on desktop.

Website is gifto.co.nz

any help os MASSIVELY appreciated!

Hi @Gifto

Please try to add this code to your theme.liquid file after and check if it is suitable for your mobile now


Thanks for the reply Dan, not worked for me yet.

Should I select ‘adapt to first image’ or ‘medium’?

Select adapt to image then I will check and provide code optimize for mobile

1 Like

thanks, it’s now selected as “adapt to first image”

Hi @Gifto ,

Follow these Steps:

  1. Go to Online Store
  2. Edit Code
  3. Find theme.liquid file
  4. Add the following code just above tag

Result:

If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

Best Regards,
Makka

1 Like

that works! thanks both @theycallmemakka and @Dan-From-Ryviu for your help and quick responses !