Multicolumn: reduce spacings (dawn theme)

Topic summary

A user seeks to reduce vertical spacing in a multicolumn layout on their Shopify Dawn theme store to create a more compact item display. Multiple helpers provide CSS solutions targeting .grid--1-col-tablet-down .grid__item with padding-bottom: 0px !important.

Attempted Solutions:

  • Initial code suggested for base.css file
  • Media query variations for responsive breakpoints (max-width: 749px, 989px)
  • Alternative placement in theme.liquid using {% style %} tags

Current Status:
The issue remains unresolved. Despite multiple code iterations and file placement attempts (base.css and theme.liquid), the user reports no visible changes after implementing each suggestion. Screenshots show the code being added correctly, but the spacing persists.

Key Question:
The discussion lacks troubleshooting of why the CSS isn’t applying—potential issues could include cache, CSS specificity, or incorrect selector targeting. No resolution has been reached, and the user continues seeking a working solution.

Summarized with AI on November 16. AI used: claude-sonnet-4-5-20250929.

How can I reduce the spacings 1 & 2 to get a more compact view of the different items?
website: 10xfuel.com

Thanks!

Hello @10xfuel

You can try this code: it will be helpful to you

Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.

.grid--1-col-tablet-down .grid__item {
    padding-bottom: 0px !important;
}

thank you! I inserted the code but don’t see any changes? What did I do wrong?

Hello @10xfuel

You can try this code: it will be helpful to you

Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.

@media screen and (max-width: 749px){
.grid--1-col-tablet-down .grid__item {
    padding-bottom: 0px !important;
}
}

Hi! I entered this code but nothing happened: what did I do wrong?

Hi @10xfuel Follow these Steps:
Go to Online Store Edit Code Find theme.liquid file or base.css
Add the following code in the bottom of the file above tag

@media screen and (max-width: 989px)
.grid--1-col-tablet-down .grid__item {
    padding-bottom: 0px !important;
}

Hello @10xfuel

You can try this code: it will be helpful to you

Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.

@media screen and (max-width: 749px){
.grid--1-col-tablet-down .grid__item {
    padding-bottom: 0 !important;
}
}

I entered the code but nothing changed: what did I do wrong?

@10xfuel can you share screenshot in which file you paste code?

@10xfuel try this..

{% style %}
@media screen and (max-width: 989px)
.grid--1-col-tablet-down .grid__item {
    padding-bottom: 0px !important;
}
{% endstyle %}

just entered but it doesn’t change anything: