Change Table of Contents Font Color in Word Web Layout
Question details
Change the font color of table of contents entries in Word Web Layout view.

- 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.
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.
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.
On the Home tab, open the Styles pane. If the hyperlink styles are not listed, use the pane's Options to display all styles.
In the Styles pane, open the menu for Hyperlink and select Modify. Choose the desired font color, then select OK.
Open the menu for FollowedHyperlink, select Modify, and choose the desired font color. Select OK to apply it.
Return to View > Web Layout and check the table of contents entries. Save the document when the colors look right.

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.

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.




