How can I display multiple products per row on mobile view?

Hi,

The product images on desktop on our site looks perfect but we want to change the view on mobile view to show more than 1 product per row. Is there a way to do this? We are using the Portland theme.

@Meano94 , can you share your store url?

Sure, Thank you. It is currently still in development but the current URL is https://6aad2b-2.myshopify.com/

It requires a password.

Password is We_Believe_24/7

It says that the password is wrong.

Apologies i have reset the password, please try

liavaw

No problem, go to template-collection.css and add the following code :

.collection-product-list {
    display: grid;
    grid-template-columns: 1fr 1fr !important;
    column-gap: 2.4rem;
    row-gap: 4.8rem;
}
1 Like

Hi @Meano94

Please check in your section settings, it has option to select number of column on mobile

Hi @Meano94

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file → Save


Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

This worked!! Thank you so much!

1 Like