Goal: change Shopify Pipeline theme search results from a list to a product grid consistent with the rest of the site.
Proposed approach: customize the search.liquid template and/or apply CSS to transform the results container into a flex-based grid.
Specific suggestion: add CSS targeting .search__results__products__list to use display:flex, row direction, wrapping, and centered content; adjust child elements (.product-line, .product__inline__image, .product__inline__link) and set image max-width to 300px. An example result screenshot was provided.
Action taken: the CSS was added to the main theme.css file, but it did not change the search results layout on the live site.
Open questions: whether the CSS is loading on the search page, if selectors match the Pipeline markup, or if search.liquid structure needs edits to support a grid. Next steps likely include placing CSS in the correct asset, increasing selector specificity, clearing caches, or modifying search.liquid HTML to use grid-friendly classes.
Context: images are central to understanding the current list layout, desired grid, and the proposed CSS outcome. Status: unresolved; further guidance requested.
I need some help switching my search results template. It currently shows as a list, but I want to display my search results as a grid, the same way the rest of the website is displayed.
Images attached for reference.
This is how my search results page currently looks:
Thanks so much for looking into this, I have added that CSS to my main CSS file, is that correct, it doesn’t look to have implemented the change on my side..