logo
search
Formatting Issues

Fix Word Line Numbers Disappearing After Removing Section Break

WPS EditorWPS Editor Sep 28, 2026 869 views

Question details

The user needs to prevent line numbers from disappearing when modifying a document's layout, specifically when dealing with section breaks and headings.

How to Fix Word Line Numbers Disappearing After Removing a Section Break
Product
Microsoft Word
Device & OS
Mac
Scenario
Adding an unnumbered heading above an excerpt of text that currently has line numbering applied.
Observed behavior
Removing the section break to add the heading causes the line numbering settings to be completely lost from the excerpt.
Before you start

Enable the 'Show/Hide ¶' formatting marks in your document toolbar so you can accurately see exactly where your section breaks and page breaks are located before making any modifications.

Solution 1Recommended

Insert a Page Break Before the Continuous Section Break

By inserting a page break instead of deleting the section break, you preserve the specific section that holds the line-number settings while creating space for a new heading.

In Microsoft Word, formatting rules like line numbering are stored within the section break mark located at the end of the section. If you delete a continuous section break to merge text, the excerpt loses its unique properties and adopts the formatting of the surrounding text.

To maintain your line numbers while adding new content above the excerpt, you must keep the section break intact.

1
Locate the section break

Scroll to the continuous section break positioned just above the text containing the line numbers. Click to place your cursor immediately before this break.

2
Insert a page break

Navigate to the 'Insert' tab on the ribbon and select 'Page Break', or use the keyboard shortcut Command+Enter on your Mac.

3
Add your heading

Move your cursor to the newly created space after the page break (but before the continuous section break) and type your unnumbered heading.

Insert a Page Break Before the Continuous Section Break
Settings Preserved: This method ensures the section containing your line numbers remains fully intact, completely bypassing the disappearing number issue.
Smart Document Formatting

Handle Line Numbering and Layouts Seamlessly in WPS Office

WPS Writer provides an intuitive Page Layout interface where you can easily manage section breaks and precise line numbers without unexpectedly losing your formatting.

  1. 1. Open the Page Layout menu: Launch your document in WPS Writer and navigate to the 'Page Layout' tab on the top ribbon.
  2. 2. Insert necessary section breaks: Click on 'Breaks' and select 'Continuous Section Break' to isolate the specific excerpt you want to number.
  3. 3. Apply line numbers to the section: Place your cursor inside the isolated section, click 'Line Numbers' in the Page Layout tab, and select 'Continuous' or 'Restart Each Page'.
  4. 4. Add your headings freely: Type your unnumbered headings in the sections outside the broken area. The isolated section's line numbers will remain entirely unaffected.
Precise line numbering control for specific sections or whole documentsSeamlessly add headings without disrupting existing paragraph layoutsFully compatible with Microsoft Word .docx formatsFree and lightweight alternative for Mac and Windows
microsoft office alternative - wps office

Frequently Asked Questions

Why do my line numbers disappear when I delete a section break in Word?

In Word, section formatting rules (such as line numbers, margins, and column layouts) are stored in the section break mark at the end of that specific section. Deleting the break causes the text to inherit the formatting of the subsequent section, effectively erasing your line numbers.

How do I view hidden section breaks in my document?

Click the 'Show/Hide ¶' button, usually located in the Home tab's Paragraph group. This displays hidden formatting marks, making it much easier to locate and manage your continuous and next-page section breaks.

Can I apply line numbers to only a few specific paragraphs?

Yes. Select the specific paragraphs you want to number, go to the Page Layout settings, and apply line numbering. The word processor will automatically insert continuous section breaks before and after your selection to isolate the numbering from the rest of the text.