Font Style and Color in Confluence Table of Content Macro

ElizabethC July 9, 2013

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

2 votes
Answer accepted
Matthew J. Horn
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 15, 2013

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...

0 votes
ElizabethC July 21, 2013

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.

0 votes
ElizabethC July 21, 2013

There appears to be no current quick solution.

0 votes
Guilherme Nedel [Atlassian]
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 11, 2013

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events