Understanding Inner Padding & Outer Margin Settings

Learn how to control section spacing using Inner padding, Outer margin, and custom CSS for more precise control.

Basic Settings

Inner Padding

  • Controls space inside the section

  • Affects distance between content and section edges

  • Single value applies to both top and bottom

Outer Margin

  • Controls space outside the section

  • Affects distance between sections

  • Single value applies to both top and bottom

Using Custom CSS

Inner Padding Custom CSS

To set different values for top and bottom padding:

/* CSS field */
.dsgn-pck__sizer {
  padding-top: 60px;
  padding-bottom: 40px;
}

/* Mobile CSS field */
.dsgn-pck__sizer {
  padding-top: 40px;
  padding-bottom: 20px;
}

Outer Margin Custom CSS

To set different values for top and bottom margin:

Tips for Spacing

Desktop Values

Mobile Values

Best Practices

  1. Use larger spacing on desktop

  2. Reduce spacing proportionally on mobile

  3. Keep top/bottom spacing balanced

  4. Consider content density

  5. Maintain consistent patterns

Need help? Contact our support team at support@design-packs.com for assistance.

Pro Tip: Start with the built-in spacing controls, then use custom CSS when you need different top and bottom values or more precise mobile control.

Last updated