How can I adjust the height and width of my collection list?

Hello World,

I am struggling to alter the height/width of my collection list. Ideally, I’d like to display my collections in the format the bestsellers are in image #2 with 2-4 collections per row and drastically reduced height.

NufCed.co

1 Like

Hi @jbeast77

Do you mean like this?

If it is try this one then.

  • From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  • Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  • In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
#shopify-section-template--21019719369025__1650377907ca45209d .collection-list-section .collection-list.grid-style {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
}
  • And Save.

Hello Made4uo-Ribe, it was a partial solution.

  1. The grid style does not translate to mobile well. Almost seems a collections slideshow would work better.

  2. If the grid style did adapt to mobile properly, there is still a lot of white/dead space. How would I adjust the margins/padding for that? section-collection-list (assets)?