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

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!



Great, thanks so much!

That helped. Thanks.

Britta T. I'm New Here Oct 15, 2018

Thank you so much! It did the "trick"!

That helped. Thanks.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

490 views 3 18
Read article

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