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

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 Join to answer
Community showcase
Jason Wong
Published Tuesday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

398 views 6 16
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot