Minimal Theme - How do You Reduce The Spacing Between Sections On Home Page

ElsieWolfe
Tourist
19 0 3

Hi.

Can someone please tell me where to find the code to adjust the spacings between sections on the home page.

Thanks Will

0 Likes
paramSoft
Shopify Partner
1466 239 655

Please provide website url and if your store is password protected then also provide password

Want to customize Shopify storefront? Check the PageFly app
75,000+ Active Shopify merchants. TOP5 best Shopify Apps.

Contact Me On : parambabla.soft@gmail.com
0 Likes
ElsieWolfe
Tourist
19 0 3

Hi Mate, just looking to find out where the code is hiding, don't mind learning.

Thanks

0 Likes
tim
Shopify Expert
2864 119 942

It's just different versions of the same theme may have different code. For example, Minimal in my test shop has this in theme.scss.liquid Asset:

/*================ Index sections ================*/
.index-section {
  padding-top: $section-spacing-small / 2;
  padding-bottom: $section-spacing-small / 2;

  @include at-query($min, $large) {
    padding-top: $section-spacing / 2;
    padding-bottom: $section-spacing / 2;
  }

  .shopify-section:first-child & {
    padding-top: 0;
    border-top: 0;
  }

  .shopify-section:last-child & {
    padding-bottom: 0;
  }
}
Want to hire me to tweak a theme? Mail me at tairli@yahoo.com!
My post solved your problem? Like it!
0 Likes