Font Style and Color in Confluence Table of Content Macro

I'm using a Table of Contents macro on each Confluence page, but the heading text displays by default with the font applied to the headings (for example, I have Heading 4s with bold and blue text). How do I get it to show the content entries like they do in the right side bar in Confluence Online Help---plain "paragraph" text with the theme's link color?

4 answers

1 accepted

1 vote
Accepted answer

Theoretically, there is a workaround. You can specify the class name of the DIV that surrounds the TOC. This is the last option on the TOC insert macro page. You then use that DIV to reference and change the TOC styles... in either a stylesheet or with jQuery. This should let you override the default styles. I wish I had the time, I'd take a stab at it...

Hello Elizabeth,

It appears to be a behavior related to this bug in the macro. Currently there isn't a workaround, though you can post your concerns to the bug report ticket.

Hope it helps.

There appears to be no current quick solution.

Thank you Matthew and Guilherme for your answers. I understand about the time factor, for now the style may have to be the way they are.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 5 hours ago in Agile

How Scrum works? It starts with training and education

To answer “How scrum works,” most of the teams I've worked with first addressed the question: “where to start?”  That question applies to both implementation and improvements on the Scrum framew...

68 views 2 3
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