Formatting Issues

Change Table of Contents Font Color in Word Web Layout

Anum MushtaqAnum Mushtaq Nov 20, 2026 868 views

Question details

Change the font color of table of contents entries in Word Web Layout view.

Change Table of Contents Font Color in Word Web Layout
Product
Microsoft Word
Device & OS
not provided
Scenario
A user wants the table of contents links to appear in a chosen color while viewing a document in Web Layout.
Observed behavior
Table of contents entries may appear in a different color because hyperlink styles affect their appearance.
Before you start

Open the document in Word and select View > Web Layout to check the table of contents colors. Note whether the entries you want to change are visited or unvisited links.

Solution 1Recommended

Modify the Hyperlink and FollowedHyperlink styles

Use this method when table of contents entries display hyperlink colors in Web Layout.

The Hyperlink style controls unvisited links, while FollowedHyperlink controls visited links. Changing these styles can also affect other hyperlinks in the document.

1
Open the Styles pane

On the Home tab, open the Styles pane. If the hyperlink styles are not listed, use the pane's Options to display all styles.

2
Change the Hyperlink color

In the Styles pane, open the menu for Hyperlink and select Modify. Choose the desired font color, then select OK.

3
Change the visited-link color

Open the menu for FollowedHyperlink, select Modify, and choose the desired font color. Select OK to apply it.

4
Check the table of contents

Return to View > Web Layout and check the table of contents entries. Save the document when the colors look right.

Modify the Hyperlink and FollowedHyperlink styles
If an entry still has a different color: Direct formatting or a TOC style may also affect an entry. Inspect the entry's formatting and the relevant TOC style in the Styles pane.
Free Microsoft Office alternative

Work with Word Documents in WPS Writer

WPS Office is a free, lightweight alternative with a familiar interface for working on Word documents. Its format compatibility makes it easy to move existing files into WPS Writer.

Open and edit documents that contain tables of contentsCompatible with Microsoft Word DOC and DOCX formatsFamiliar editing interface for a smooth transitionFree and lightweight Office alternative
microsoft office alternative - wps office

Frequently Asked Questions

Why is my table of contents a different color in Web Layout?

Table of contents entries can act as hyperlinks, so the Hyperlink or FollowedHyperlink style may affect their color. Check those styles in Home > Styles.

Why do some table of contents links have a different color from others?

Visited and unvisited links can use different styles. Modify both FollowedHyperlink and Hyperlink in the Styles pane if you want them to use the same color.

Will changing the Hyperlink style affect other links?

It can affect other hyperlinks that use that style throughout the document, not just links in the table of contents.

What if changing the hyperlink styles does not fix every entry?

Select an affected entry and inspect its formatting and the relevant TOC style in the Styles pane. Direct formatting or TOC styles may also influence its appearance.