Formatting Issues

Remove Shading from All Word Table of Contents Entries

Nimra MalikNimra Malik Nov 20, 2026 870 views

Question details

Remove unwanted shading from all generated table of contents entries without editing each entry individually.

Remove Shading from All Word Table of Contents Entries
Product
Microsoft Word
Device & OS
not provided
Scenario
A document has shaded headings and an automatically generated table of contents.
Observed behavior
Green shading applied directly to heading text appears in the corresponding table of contents entries.
Before you start

Find a shaded heading that appears in the table of contents and check whether the color is text shading or highlighting. The steps below address shading applied directly to heading text.

Solution 1Recommended

Move shading from heading text to heading paragraphs

Use this method when direct text shading is carried from headings into a generated table of contents.

Word can carry direct font formatting from heading text into table of contents entries. Paragraph shading keeps the heading visually shaded without carrying that shading into the entries.

1
Select the heading text

In the document body, select the text of a heading whose shading appears in the table of contents.

2
Remove text shading

On the Home tab, open the Borders drop-down in the Paragraph group and select Borders and Shading. On the Shading tab, set Fill to No Color, choose Text under Apply to, and click OK.

3
Shade the paragraph

Place the cursor in the heading paragraph. Open Home > Borders > Borders and Shading, select the Shading tab, choose the desired fill color, set Apply to to Paragraph, and click OK.

4
Repeat for affected headings

Repeat the text-shading removal and paragraph-shading steps for other headings that have direct text shading.

5
Update the table of contents

Click the table of contents, select Update Table, choose Update entire table, and click OK.

Move shading from heading text to heading paragraphs
Check for highlighting: If the color remains on the heading text after removing shading, select the text and check Home > Text Highlight Color. Highlighting is separate from shading.
Free Microsoft Office alternative

Work with Tables of Contents in WPS Writer

WPS Office is a free, lightweight alternative with a familiar interface for editing documents and managing tables of contents. Its Word format compatibility makes it easy to move existing documents into WPS Writer, although it does not fix Microsoft Word's shading behavior.

Create and update tables of contents in WPS WriterOpen and edit Microsoft Word DOC and DOCX filesUse a familiar interface for document formattingMove existing documents into a lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why are my table of contents entries green?

In Word, direct shading applied to heading text can be carried into generated table of contents entries. Check the corresponding headings with Home > Borders > Borders and Shading.

How can I keep the headings shaded but remove shading from the contents?

Remove shading with Apply to set to Text, then apply the desired color with Apply to set to Paragraph in the Borders and Shading dialog. Update the entire table of contents afterward.

Do I need to edit every table of contents entry?

No. Correct the shading on the affected headings, then click the table of contents and choose Update Table > Update entire table.

What if removing text shading does not remove the color?

The color may be highlighting rather than shading. Select the heading text and check Home > Text Highlight Color, then update the table of contents.