"We are revamping our Knowledge Base articles to serve you better. In case you find something unusual, do not panic. Reach out to our Support Team by submitting a ticket if you ever need some help.”
  1. Home
  2. DropFunnels Builder / Editor Basics
  3. DropFunnels Builder Basic Functions
  4. Spacing – Margin & Padding Inside DropFunnels Editor
  1. Home
  2. DropFunnels Builder / Editor Basics
  3. Layouts
  4. Spacing – Margin & Padding Inside DropFunnels Editor
  1. Home
  2. DropFunnels Builder / Editor Basics
  3. Layouts
  4. The Advanced Tab
  5. Spacing – Margin & Padding Inside DropFunnels Editor

Spacing – Margin & Padding Inside DropFunnels Editor

Spacing - Margin & Padding Inside DropFunnels Editor

In the Advanced tab, the Spacing section allows you to modify the default margin for rows, columns, and modules, as well as adjust the padding for rows and columns.

advanced-tab--spacing--1-1e25b04be39402e3a8341403af05e9c4

Global Defaults

The DropFunnels Editor applies the following default margins and padding through Global Settings:

  • 0px margin on each side of all rows and columns.
  • 20px padding on each side of all rows.
  • 0px padding for columns.
  • 20px margin on each side of all modules.

(Note: Modules do not support padding.)

If you didn't change a single margin or padding anywhere, these defaults would apply on every device, though mobile devices may be different if Auto Spacing is enabled, which is enabled by default.

Margin

With DropFunnels Editor, you have extensive control over margins. You can adjust margins for each side of an element, including the top, right, bottom, and left. Furthermore, you can choose from a range of CSS units, including pixels (px), percentages (%), viewport width (vw), and viewport height (vh).

Negative Margins

While margin property values can be negative, there may be visual inconsistencies between browsers, especially when using large values, such as -50px or greater. If you need to move your content slightly to one side, then -15px or less should work without causing any inconsistency between browsers, but higher values should be avoided.

For content positioning, we recommend using positiontoprightbottomleft, and z-index properties instead of negative margins.

For example, suppose you need to position your Heading module higher up the page. You can use a negative margin-top value such as -150px, but this may appear differently between browsers. As a result, you should give your Heading module a custom class and then use this with the positiontoprightbottomleft, and z-index properties, see the example CSS below. By using this method, browser inconsistencies caused by high negative margin values should be eliminated.

(See Example Below)

.my-heading-module {
position: relative;
top: -150px;
z-index: 10
}

Padding

DropFunnels Editor gives you complete control over Padding. Padding can be set for each side of an element (top, right, bottom, and left). You can also choose from the following CSS units px, em, %, vw and vh.

(Note: Padding does not support negative values.)

Was this article helpful?

Related Articles

DF Black Trimmed

ANNOUNCEMENT:
Our Knowledge Base articles are undergoing a comprehensive overhaul to enhance your experience.

If you encounter any unexpected issues or irregularities, feel free to connect with our Support Team by submitting a support ticket for prompt assistance.
Join our Slack Workspace

Join the DropFunnels Slack Workspace and get access to the DropFunnels team, other DropFunnels members, twice-weekly support calls and more!

Join our Slack Workspace

Become A DropFunnels Wizard


Complete our Fast Start Training and learn everything you need to know to launch your first or next funnel.

From Lead Capture to Products, Courses to Blogs, this easy-to-follow training covers it all.

We’ll even give you $50 credit for completing the training!


Become A DropFunnels Wizard