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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Thursday in Off-topic

Friday Fun: Magic Eyes

...staring into the background. Once the image pops out in 3D, you can look around the picture and enjoy. If you will see if you are a true illusion master! :) You did it? :) Wow! Awesome! As a bonus...

420 views 79 11
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