Default product layout - Destop vs. Smartphone

Hi,

I’m looking to implement different default product grid layouts on my Shopify store, depending on the customer’s device:

  • On desktop, the default layout should be “Small grid”

  • On mobile, the default layout should be “Large grid”

This behavior should apply across all product grid sections throughout my store — both on the main shop collection pages and within all product templates.

Is there a way to achieve this via code or theme settings? Any help or guidance would be greatly appreciated!

Thanks in advance!

Best
Michael

Hello @Michael1428
Welcome to the Shopify Community! Kindly share your store URL and password (if it is password-protected), so that I can review it and provide you with an accurate solution.

Hi Devcoders

Thank you for reaching out.

Would you like the information sent to your email?

Best
Michael

Hello @Michael1428
Yes, please send the information to my email.