Product card layout

Topic summary

A user wants to modify their product card layout to display 5 products per row instead of the default 4.

Solution Provided:

  • Navigate to sections/main-collection-product-grid.liquid
  • Search for the columns_desktop parameter
  • Change its default value from 4 to 5
  • Save the file

The solution was provided by a Shopify expert and includes a screenshot showing the exact location of the code to modify. The original poster confirmed the solution worked successfully.

Status: Resolved - the user thanked the community for the working solution.

Summarized with AI on October 29. AI used: claude-sonnet-4-5-20250929.

hi

I would like to know that If I can custom Product card layout

from maximum 4 product per row like picture above

to maximum 5 product per row?

and how to do it by myself

thanks :grin:

1 Like

@X8d3

Please share your store URL!

Thanks!

1 Like

Hi @X8d3

I am from Mageplaza - Shopify solution expert.

Go to the file sections/main-collection-product-grid.liquid. Then search for the keyword columns_desktop. Change the default value of this object to 5. Save it and check the result.

*Screenshort:

Please let me know if it works as expected!

Best regards!

1 Like

Hi @X8d3

Please,share your store URL. Thanks!

1 Like

thank you so much :grin: