How can I reduce the padding between different sections on my pages please? I’m using Impulse. www.petite-belle.com
Many thanks.
The question is how to reduce the vertical gaps between sections in a Shopify store using the Impulse theme. The main suggestion is to open the theme editor, go to Theme settings → Custom CSS, and add CSS that adjusts section margins and divider padding. The example sets both to 30 pixels; lowering the values makes sections closer together, while increasing them adds space.
Two alternatives recommend editing theme code instead: adding a margin rule to theme.scss.css (20 pixels, with !important) or to base.css (10 pixels). These approaches vary by file and spacing value, so the appropriate option may depend on the theme version and desired result. No follow-up confirms which method was used or whether the spacing issue was resolved.
How can I reduce the padding between different sections on my pages please? I’m using Impulse. www.petite-belle.com
Many thanks.
Hi @claudinesc
On Impulse, one bit of CSS in Theme settings shrinks the space between every section on your pages.
.index-section {
margin: 30px 0;
}
.section--divider {
padding-top: 30px;
}
Want it tighter? Use a smaller number than 30. Want it looser? Use a bigger one.
Hello @claudinesc,
Go to the Online Store, then Theme, and select Edit Code.
Search for the theme.scss.css file. Add the provided code at the end of the file.
.index-section {
margin: 20px 0 !important;
}
Hi @claudinesc
In your Shopify Admin go to online store > themes > actions > edit code
Find Asset > base.css and paste this at the bottow of the file:
.index-section {
margin: 10px 0;
}
Best regards,
Devcoder ![]()