Margin & Padding Spacing

Use this page to customize the default spacing for your project.Padding & Margin

Please note that we have provided best practise spacing sizes that should be suitable for most projects, however if you would like to edit or extend the default spacing you can do so here.

In some scenarios, you may not want to add padding directly to your active class. For example, if you are using H2 Title 400 and you add 20px directly to that class, well as you probably know this applies to all the pages where this title exists. So, in most cases, it's totally fine to just duplicate this title element and give it a new name. This allows us to start editing this new version of the title without impacting the base class.

Alernatively you can use the spacing system that we have developed here.

Okay, we know on first glance this might be scary - but we promise you will understand it in seconds. Using the system you could simply add the class P4 to any element and it will give it 4px bottom padding. Or you could add Padding Bottom 24 and quickly you can add 24px padding. This is great for your titles, so now you could have H2 Title 400 Padding Bottom 24 as the classes for a title with 24px padding.
When editing colors, use the global color swatches. Learn More
When you edit a global color swatch, you automatically apply the color change to all elements where the color exists. So if you update the Purple 300 to suit your brands version of Purple, the color will be applied across all utility items, components, templates etc. Or if you change the Purple 600 to Orange

Quick Version

Add Padding & Margin to your items by adding classes like this Padding Bottom 12 (12px) Padding Bottom 32 (32px) Margin Right 8 (8px).

We usually lean on the side of reducing combo classes, so if you have an item with unique sizing, then we encourage you to simply duplicate the item and edit its spacing as you require. Since the item is duplicated you no longer need to worry about it impacting other elements.

General bottom padding

As described in the project documentation, you can simply add these classes to any elements to quickly apply padding properties.
You are welcome to edit any of the default padding properties from the right column when inside of webflow
Class Name
Pixels
Global Class *Edit in Webflow
Padding Bottom 4
4px on Bottom
Padding Bottom 8
8px on Bottom
Padding Bottom 12
12px on Bottom
Padding Bottom 16
16px on Bottom
Padding Bottom 20
20px on Bottom
Padding Bottom 24
24px on Bottom
Padding Bottom 28
28px on Bottom
Padding Bottom 32
32px on Bottom

Padding Top

As described in the project documentation, you can simply add these classes to elements to inherit their styles.
By default we provide some basic spacing classes that can help you quickly add padding and margin as combo-classes.
Class Name
Pixels
Global Class *Edit in Webflow
Padding Top 4
4px on Top
Padding Top 8
8px on Top
Padding Top 12
12px on Top
Padding Top 16
16px on Top
Padding Top 20
20px on Top
Padding Top 24
24px on Top
Padding Top 28
28px on Top
Padding Top 32
32px on Top