Fixing the gap between a heading and text is an important part of designing a clean and professional layout in Elementor. Sometimes, when you add a heading and a paragraph in the same container, there is unwanted space between them. This gap can affect the visual appeal and readability of your content.
In this article, we will explain how to fix the gap between a heading and text in Elementor. The explanation follows a step-by-step approach and expands each method in detail so that you can clearly understand how to adjust spacing effectively.
Accessing the Elementor Editor
To begin, you need to open Elementor and start editing your web page.
As shown in the process, you are inside the Elementor editor and creating a new web page. A section has already been created using a grid layout.
This section contains:
- Two columns
- A heading widget
- A text editor (paragraph) widget
Both the heading and the paragraph are placed inside the same container in the first column.
Understanding the Gap Issue
When you add a heading and a paragraph, there is usually some default spacing between them.
This gap can be:
- Too large
- Misaligned
- Visually unbalanced
To fix this, you can either:
- Move the paragraph upward
- Move the heading downward
Both methods use margin settings.
Method 1: Moving Paragraph Upward
Step 1: Select the Paragraph
Move your cursor over the text editor (paragraph).
Click on the pen icon located at the top right corner.

Step 2: Open Advanced Settings
In the left-side toolbar, you will see:
- Content
- Style
- Advanced
Click on the Advanced tab.

Step 3: Unlink Margin Values
In the layout section, you will see margin values:
- Top
- Right
- Bottom
- Left
Click on the unlink button to control each side individually.

Step 4: Decrease Top Margin
Reduce the top margin value.
As you decrease the value:
- The paragraph moves upward
- The gap between heading and text reduces
This is the first method to fix the spacing.

Result of Method 1
After decreasing the top margin:
- The heading remains in the same position
- The paragraph shifts upward
- The gap is reduced
Method 2: Adjusting Heading Position
You can also fix the gap by adjusting the heading.
Step 5: Select the Heading
Move your cursor over the heading.
Click on the pen icon to edit it.

Step 6: Open Advanced Settings
Go to the Advanced tab.

Step 7: Unlink Margin Values
Unlink the margin values so that you can control each side separately.

Step 8: Adjust Margin Values
Increase or decrease margin values carefully.
- Increasing top margin moves the heading downward
- Adjusting bottom margin affects the spacing between heading and paragraph
To reduce the gap, you need to adjust the bottom margin properly.

Result of Method 2
After adjusting the heading:
- The paragraph stays in place
- The heading position changes
- The gap is reduced
Comparing Both Methods
Method 1 (Paragraph Adjustment)
- Moves paragraph upward
- Heading remains fixed
- Easy and commonly used
Method 2 (Heading Adjustment)
- Moves heading position
- Paragraph remains fixed
- Useful in specific layouts
Understanding Margin Behavior
Margin controls spacing outside the element.
- Top margin affects space above the element
- Bottom margin affects space below the element
By adjusting these values, you can control spacing between elements.
Practical Demonstration
In the demonstrated process:
- The paragraph’s top margin is reduced
- The gap between heading and paragraph decreases
Then:
- The heading margin is adjusted
- The spacing is controlled from the heading side
Benefits of Fixing the Gap
Improved Layout
Proper spacing creates a clean design.
Better Readability
Content becomes easier to read.
Professional Appearance
Balanced spacing improves visual appeal.
Common Mistakes to Avoid
Not Unlinking Margin Values
If values are linked, all sides change together, which may not give the desired result.
Using Incorrect Margin Side
Always adjust the correct margin (top or bottom) based on the element.
Over Adjusting Values
Too much adjustment can break the layout.
Best Practices
- Use small margin adjustments
- Maintain consistency across sections
- Test spacing on different devices
- Keep layout balanced
Final Understanding
Fixing the gap between a heading and text in Elementor is a simple process when you understand how margin works. By adjusting the margin of either the paragraph or the heading, you can control the spacing effectively.
Conclusion
Managing spacing between elements is an essential part of web design. By using the margin settings in Elementor, you can easily fix the gap between a heading and a paragraph.
By following the steps explained in this guide, you can create a well-structured and visually appealing layout for your website.
