To reduce a large heading-to-body gap in Pages on Mac, lower the heading’s After Paragraph spacing and check the following paragraph’s Before Paragraph spacing. If the gap remains, inspect blank paragraphs, breaks, and text-box placement. Apple’s spacing instructions.

This guide covers bringing a heading closer to its following text in a Mac document. Start with one affected heading, identify what creates the space, and then decide whether the correction belongs throughout the document.

Identify what is creating the gap

First, choose View > Show Invisibles from the menu bar at the top of the screen. Apple specifies that this command is absent from the toolbar’s View menu. Invisibles reveal paragraph returns and formatting breaks that would otherwise be hidden. View formatting symbols on Mac.

Use the following diagnostic order. It is a practical sequence derived from Apple’s documented controls, rather than a Pages command that automatically diagnoses spacing.

What you see What to inspect first Next action
Empty paragraph marks between heading and body Extra returns Remove only the unwanted empty paragraphs
A gap between adjacent paragraphs on the same page Paragraph spacing Inspect the heading and following paragraph separately
Body text starting on the next page Breaks and pagination Check the break marker and paragraph settings
Separate selection borders around heading and body Text-box placement Check object position and text alignment

Keep the paragraph return that separates the heading from the body. The target is an unwanted empty paragraph between them. For example, a heading followed by two paragraph returns contains an empty paragraph before the body begins. Remove that empty paragraph, then reassess the spacing with both text paragraphs still distinct.

Apple also documents searching for formatting symbols. For this local repair, inspecting individual marks is more controlled than replacing every paragraph break: Apple notes that Replace All with an empty replacement deletes every matching instance. Formatting symbols and replacement behavior.

Reduce the spacing below the heading

  1. Click inside the affected heading.
  2. In the Format sidebar, click Style. For text inside a text box or shape, click Text first, then Style.
  3. Expand Spacing using its disclosure arrow.
  4. Reduce After Paragraph.
  5. Click inside the first body paragraph and inspect Before Paragraph. Reduce it if needed. These are Apple’s documented controls for spacing around paragraphs. Set line and paragraph spacing in Pages on Mac.

For an illustrative test, suppose the heading shows 24 pt after it and the body paragraph shows 12 pt before it. Record those settings, try 0 pt in both, and inspect the result. These are diagnostic inputs, not recommended typography or a calculation of the exact visible gap. Once you identify the cause, restore a modest separation that suits the document.

Change one heading-and-body pair before selecting a larger range. That makes it easier to see which adjustment helped and avoids changing paragraphs that already look right.

When should you change line spacing?

Inspect line spacing when the heading itself spans multiple lines with excessive space between them. In Format > Style, use the menu beside Spacing. Avoid forcing a small Exactly value merely to compress a gap: Apple says that setting can cause overlapping text. Apple also states that line spacing cannot be adjusted for text in a table cell. Pages line-spacing options and limitations.

Check pagination when the body moves to another page

If the blank area extends to the bottom of a page and the body begins on the next one, inspect pagination before continuing to reduce spacing. Select the affected paragraph and open Format > More, where Apple documents the Pagination & Breaks controls. Set pagination and line and page breaks in Pages on Mac.

Check whether Start paragraph on a new page is enabled for the body paragraph. Also inspect Keep lines on same page, which holds an entire paragraph together. For a heading that should accompany its following paragraph, Keep with next paragraph is the supported setting. These controls govern page flow; retaining them can require leaving unused space on a preceding page. Apple’s paragraph pagination settings.

An explicit page break is a separate cause. With invisibles visible, locate an unwanted break, click immediately to the right of its formatting mark, and press Delete, following Apple’s removal instructions. Page breaks apply to word-processing documents. Remove a formatting break in Pages.

Make this decision according to the intended layout. If a heading must stay with its opening paragraph, some space at the previous page’s end may be appropriate. If an accidental break has separated them, removing that break addresses the actual cause.

Adjust placement when the text is in separate boxes

A heading and body in separate text boxes need a placement check. Apple supports positioning free-floating objects with Format > Arrange > Position, using X and Y coordinates. Y is measured from the top of the page to the object’s upper-left corner. Select the body box and adjust its position to bring it closer to the heading. Position and align objects in Pages on Mac.

For small adjustments, Apple documents moving a selected object one point with an arrow key, or ten points with Shift and an arrow key. Inline objects have a different boundary: Apple says they are repositioned by dragging or cutting and pasting within the text. If coordinate fields are dimmed in a word-processing document, its instructions specify selecting Stay on Page to use those fields. Consider the intended object behavior before changing that setting. Pages object-positioning controls.

If the box is positioned correctly but its text sits too low inside it, inspect vertical alignment. Select the box, open Format > Text > Style, and use the Alignment controls. Apple documents vertical text alignment for text boxes, shapes, and table cells. Choosing top alignment is a useful test when the empty space is above the text within its container. Align and justify text in Pages on Mac.

Apply a successful correction to matching headings

After fixing one example, decide whether the change should affect every paragraph using its style. Pages indicates a style override with an asterisk, sometimes accompanied by an Update button. Updating the style changes all text in the document that uses it. Update or revert a paragraph style in Pages on Mac.

Click inside the corrected heading and click Update beside its paragraph style. If only an asterisk appears, open the style menu, point to that style, click its arrow, and choose Redefine from Selection. Leave the override local when only this heading needs different spacing. If you also changed the body paragraph, consider its style separately. Apple’s style-update procedure.

Review another heading in the middle of a page and one near a page boundary. This checks whether your chosen spacing works in both situations before you continue editing.

Which instructions also apply to Keynote?

If you are editing a Keynote presentation, its documented paragraph-spacing path is Format > Text > Style > Spacing, followed by Before Paragraph and After Paragraph. Click inside the paragraph you want to adjust. Those controls address paragraphs within text; this Pages guide’s pagination steps should not be transferred to slides. Apple also documents a limitation on custom line spacing in Keynote table cells. Adjust line spacing in Keynote on Mac.

Finish by checking the corrected heading together with its opening paragraph. Keep the separation readable, remove only unintended breaks, and update a paragraph style when the change should repeat. Matching the adjustment to the source of the gap gives you a layout you can maintain as the text changes.

Sources