

Whether you offer marketing, customization, or web design and development services, the Shopify Partner Program will set you up for success. Grow your business with the Shopify Partner Program To get an idea of how this could look for your clients and so you can follow along with this CSS Grid tutorial, I've set up a test store which you can use to see the approach I've outlined in this tutorial.

In this article, we'll be looking at how to set up a grid layout for products on your collection pages, and how to use Shopify's section settings to create customizable options in the online store editor. So, if an option for creating a robust grid arrangement with a simple set of rules is possible, it's worth exploring for your custom theme projects. On collection pages, it feels natural that products are organized in a grid format, with rows and columns. As we saw previously with our article on getting started with a CSS grid layout, a CSS Grid framework can be easily implemented on Shopify themes to design responsive page layouts based on rows and columns.Īll pages of a Shopify online store can adopt CSS Grid, but one obvious touchpoint of any ecommerce site that can benefit from a robust and clean grid layout is the collection page. Developers can take advantage of this system to reduce complexity and define clear style rules.

Visit docsĬSS Grid has become an increasingly popular technique for applying a layout to pages amongst other CSS frameworks. To learn more about how to build with Online Store 2.0, visit our updated documentation. While the information in the following article is still correct, it doesn't account for Online Store 2.0 best practices, and may not include references to recent features or functionality. Online Store 2.0 is an end-to-end overhaul of how themes are built at Shopify, launched June 2021.
