Table of contents is changing color

Hi, my table of contents macro sometimes shows black and sometimes blue -- and on one page it's doing a weird combination of both. Does anyone know how I can fix this? I don't see a color option on the macro editor.

This is confusing, as on some pages the table of contents does not look hyperlinked to users because of the changing color.

2 answers

1 accepted

This widget could not be displayed.

Hallo Natalie

This sometimes happens because the headings themselves (the ones that the toc is based on) have some hard-coded colour codes applied to them. The headings can acquire colour codes if you paste them from another document, for example.

To fix the problem, try clearing the formatting on the headings: edit the page, select the heading, then choose the "More" formatting option in the editor toolbar (the big A with a little a next to it) and choose "Clear Formatting" from the dropdown menu.

I hope this works!

Cheers

Sarah

Great, thanks so much!

That helped. Thanks.

This widget could not be displayed.

That helped. Thanks.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

601 views 8 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you