This article is general for Shopify, BigCommerce, Wix, WooCommerce, Magento 1, and Magento 2.
Changing the number of products per row
By default, the number of products per row in the Grid view of the search results page is set automatically according to the width of the page. You can set the fixed number of products per row on desktop devices.
If the up-to-date Big Pictures template is used for the Search Results Widget or you have a store on the Wix platform, it is possible to set the number of products per row via the Searchanise control panel. To do so, follow these steps:
- Go to the Searchanise Search & Filter control panel > Search & Navigation > Search results widget section > Content tab > Search results page part.
- Select the number of products from 1 to 6 in the Products per row option.
- Apply the changes.
That’s it. The set number of products is now shown in the Grid view on the search results page on desktop devices.
In other cases, you can change the number of products per row only using the Custom CSS feature.
The number of products depends on the width of the product block, which is set in the #snize-search-results-grid-mode li.snize-product
CSS selector.
To change the number of products per row, follow these steps:
- Go to the Searchanise Search & Filters control panel > Search & Navigation > Search results widget section > Custom CSS tab.
- Enable the Use custom CSS option if it is disabled.
- Copy one of the CSS rules below and paste it into the field.
- Apply the changes.
That’s it. The set number of products is now shown in the Grid view on the search results page on desktop devices.