Formatting Issues

How to Change Table of Contents Leader and Page Number Colors in Word

Jason MillerJason Miller Nov 3, 2026 868 views

Question details

The user wants to customize the color of the leader dots and page numbers within a Table of Contents.

How to Change Table of Contents Leader and Page Number Colors in Word
Product
Word
Device & OS
not provided
Scenario
Formatting a document for final publication and needing the Table of Contents elements to match a specific color scheme, such as making the leader dots green.
Observed behavior
By default, leader characters and page numbers use the Default Paragraph Font and remain black or the standard text color unless a custom style or direct formatting is explicitly applied.
Before you start

Ensure your document is fully edited and all headings are finalized, as applying manual formatting to the Table of Contents should be the very last step before publishing.

Solution 1Recommended

Apply Direct Formatting and Unlink the Table of Contents

Directly change the text color and unlink the TOC to prevent it from reverting to default styles upon updating.

Because leader dots generally inherit the Default Paragraph Font, changing the heading style doesn't always automatically change the dots. Applying direct color formatting is the quickest method. However, updating the table will erase this formatting, so you must unlink the TOC to lock in your custom colors.

1
Update the Table of Contents

Right-click anywhere inside your Table of Contents and select 'Update Field', then choose 'Update entire table' to ensure all page numbers and headings are perfectly accurate.

2
Apply Font Color

Highlight the specific leader dots and page numbers you wish to alter. Go to the 'Home' tab and select your desired color from the Font Color dropdown (e.g., Green).

3
Select the Entire TOC

Click and drag to select the entire Table of Contents, or click the handle at the top-left of the TOC box if available.

4
Unlink the TOC Field

Press 'Ctrl+Shift+F9' on your keyboard. This converts the automated Table of Contents into standard static text, preventing Word from overwriting your custom colors.

Apply Direct Formatting and Unlink the Table of Contents
Unlinking is Permanent: Once unlinked, the Table of Contents will no longer update automatically if you add or move pages. Only perform this step when the document is 100% finished.

Easily Customize Your Table of Contents with WPS Writer

WPS Writer offers a highly intuitive document formatting experience. You can effortlessly generate, modify, and color-coordinate your Table of Contents to match your document's unique design requirements.

  1. 1. Insert a Table of Contents: Open your document in WPS Writer. Go to the 'Reference' tab, click 'Table of Contents', and select a built-in style or 'Insert Table of Contents'.
  2. 2. Access Style Options: In the Table of Contents dialog, click on the 'Options' or 'Modify' button to adjust the formatting for specific heading levels.
  3. 3. Customize the Color: Change the font color to your desired choice (like green) within the style modification window.
  4. 4. Apply the Layout: Confirm your settings. WPS Writer will generate an updated Table of Contents reflecting your custom color choices without breaking links.
Customize TOC styles, leader dots, and colors in just a few clicks.Seamlessly compatible with Microsoft Word (.docx) formatting.User-friendly interface for professional document layout and design.Free and lightweight office suite for Windows, Mac, and Linux.
QA img-9

Frequently Asked Questions

Why did my TOC colors revert to black after saving or printing?

If you manually changed the text color without unlinking the table, Word automatically updates fields (like the TOC) right before printing or saving in certain configurations. This auto-update restores the default black style. To fix this, apply your colors and press Ctrl+Shift+F9 to unlink the TOC before saving.

Can I change the leader dots to dashes or solid lines?

Yes. When generating your Table of Contents, go to References > Table of Contents > Custom Table of Contents. In the dialog box, look for the 'Tab leader' dropdown menu. You can change the standard dots to dashes, a solid line, or select 'None' to remove them entirely.

How do I fix the spacing between the heading text and the page numbers?

You can adjust TOC spacing using the Ruler. Go to the View tab and check 'Ruler'. Highlight your Table of Contents, then drag the tab stop marker (usually an 'L' shaped symbol on the top ruler) or the hanging indent slider to the left or right to adjust the space.