It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Wrong styles used in the TOC

Is there a reason or am I making any mistake for which I see my TOC with wrong styles for some of the paragraph titles? See, for instance, 2.2.1, 2.3 or 3..

I carefully checked my document but I couldn't find any special for those headers: they are normal lines with one of the Header style applied, like all the other paragraph titles...

4 answers

1 accepted

1 vote
Answer accepted

I found a workaround. Elaborating on Mick's suggestion, I did some more tests on the formatting of those headings. The first thing that I discovered was that if I removed the Heading 1 style from paragraph 3. title ("Requisiti dettagliati"), that line, alghough becoming a Paragraph line, still displayed with a huge font size (compared to the standard Paragraph font size). I don't know how that was even possible, since I'm using the plain Confluence editor (so, neither HTML nor wiki markup written directly) and I don't even find a way to augment the font size with this editor...

Than, I found out the "Clear formatting" option in the "More" decoration button and applied it on my heading and... voilà! Now the TOC is rendered correctly!

Thanks for your help!

Mauro, excellent, well done!


I've had this too, the problem was being caused by the formatting applied to the heading. IE, in my case, someone had added BOLD to a heading. The TOC macro picked this up and rendered the bold as well as the standard formatting and this was all displayed in the TOC.

I'd check that before getting too involved in more complex ideas.


Thanks Mick! I also thought about having bold applied, but this is not the case. I double checked right now and I confirm bold is not there. I also have tried to "reset" the heading by adding + removing bold, or by removing + readding the Heading style, with no luck...

Have you tried clearing customization? I'd recommend doing this in a test instance though, or perform a database backup before proceeding.


Can you access the HTML in Edit mode? If so, have a look at that too. I've found that sometimes the HTML goes wrong and if you edit it, everything looks as you want it too. This might be a bit of a long shot though. You can access it using the <> button in the tpo right corner of a page.


Hi Mick,

I actually tried to have a look at the HTML code some days ago, but I must confess I didn't go into it thoroughly, because I found it very verbose and nothing evident drew my attention.

If it happens again, I may try to look at it more carefully, so that I might understand how to reproduce this issue.

Thanks again!

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 (you can also ...

2,514 views 14 20
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