Create space with padding and margins

Share This Post

🏗️ Padding (Inside Space)

  • What it is: Space added inside a widget, column, or section—between its content and its border/edge.

  • Use it to:

    • Prevent text or images from touching container edges

    • Add breathing room within colored backgrounds or bordered areas

    • Balance visual weight around content

  • How it works:

    • Can be set in pixels, percentages, em/rem units

    • Adjustable per side: top, bottom, left, and right

    • Values cascade** unless you unlink sides for different top/bottom and left/right spacing


🌐 Margin (Outside Space)

  • What it is: Space added outside a widget, column, or section—separating it from neighboring elements.

  • Use it to:

    • Create clear gaps between sections or widgets

    • Control the flow of content vertically or horizontally

    • Prevent elements from overlapping

  • How it works:

    • Similar to padding, margin can be defined per side

    • Settings apply via pixels, percentages, em/rem, or viewport-based units

    • Unlink controls to assign unique spacing to each side


🎛️ How to Adjust Spacing

  1. Select Element

    • Click the desired widget, column, or section.

    • Open the Advanced tab in the sidebar.

  2. Choose Units

    • Pick from px, %, em, or rem.

    • (Advanced users can also use VW or VH via custom CSS.)

  3. Set Padding or Margin Values

    • Input values into specific sides or unlink to input individually.

    • Use slider, arrows, or direct input.

  4. Responsive Spacing

    • Adjust spacing separately for desktop, tablet, and mobile.

    • Use device icons to switch controls per screen size.


💡 Best Practices

GoalUse Margin or Padding?
Isolate elements from othersUse margin outside spacing
Add space within a colored or bordered boxUse padding inside spacing
Ensure readability on mobileIncrease top/bottom padding/responsive values
Prevent overlap with fixed headersUse top margin or padding considering header height

🛠️ Pro Tips

  • Use em/rem units for spacing that scales with text size.

  • Use % spacing for fluid layouts that adapt to container width.

  • Embrace separate device settings to optimize mobile layout

  • Watch out for negative margins—use carefully for overlapping effects

  • Leave content unlinked for balanced spacing across all sides


In summary, padding adds internal room inside elements, while margins create external separation. Together, they offer powerful tools for clean, responsive page design—without needing CSS hacks

Subscribe To Our Newsletter

Get updates and learn from the best

More To Explore

Do You Want To Boost Your Business?

drop us a line and keep in touch

Learn how we helped 100 top brands gain success.

Let's have a chat

Have a Question? Ask us anything.

The right website makes everything else easier — sales, trust, growth.