Buy me a coffee

How to change number of columns on Product Page

#1. All Product Pages

You can edit the Product Page

How To Change The Number Of Columns On Product Page 01 Min

Adjust this option.

This will affect all Product Pages

How To Change The Number Of Columns On Product Page 02 Min

If you want to adjust the number of columns on mobile, click the Mobile icon

How To Change The Number Of Columns On Product Page 03 Min

and click Edit Section

How To Change The Number Of Columns On Product Page 04 Min

and adjust it here

How To Change The Number Of Columns On Product Page 05 Min

#2. Specific Product Page

First, you need to find the Product Page ID (Shop Page or Category Page).

In my example, we have:

  • #collection-66c9dbfd06d2a16e01e84673

How To Change The Number Of Columns On Product Page 06 Min

Next, use this code to Custom CSS box

/* Desktop - 4 columns */
@media screen and (min-width:768px) {
#collection-66c9dbfd06d2a16e01e84673 .products-list .list-grid {
    grid-template-columns: repeat(4,1fr) !important;
}
}
/* Mobile - 2 Columns */
@media screen and (max-width:767px) {
#collection-66c9dbfd06d2a16e01e84673 .products-list .list-grid {
    grid-template-columns: repeat(2,1fr) !important;
}
}

How To Change The Number Of Columns On Product Page 07 Min