Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Table of Contents Colors or borders

Jennifer Sherman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 6, 2025

Where can I find options to either set a background color for the table of contents or change the type color or put a border around the  table of contents?

2 answers

1 accepted

4 votes
Answer accepted
Barbara Szczesniak
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.
March 7, 2025

@Jennifer Sherman Are you talking about when you use the Table of Contents macro on a Confluence page?

A workaround to try:

  1. Insert a table with 1 column and 2 rows.
  2. Turn off the header row and delete 1 of the rows (you can't turn off the header row unless you also have another row in your table).
  3. Set a background color for your table.
  4. Insert the Table of Contents macro in the table cell.
Jennifer Sherman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 10, 2025

that worked, thanks!

Like • Barbara Szczesniak likes this
Zoriana Bogutska_Adaptavist_
Atlassian Partner
March 26, 2025

Hi @Jennifer Sherman 

Barbara's solution is one of the fastest because it is built in.

But for a case, if you need to add custom/brand colour as a background table's colour palette, that might not be enough.

In these cases, helpful apps from the marketplace might be helpful. For example, using the Mosaic app (created by my team), you can add not only colour but also images as backgrounds. 

Screenshot 2025-03-26 at 19.29.34.png

You can also use it to add a custom background to a table or other Confluence elements.

Screenshot 2025-03-26 at 19.27.49.png Screenshot 2025-03-26 at 19.28.09.png Screenshot 2025-03-26 at 19.11.49.png

1 vote
Kristian Klima
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 6, 2025

Hi @Jennifer Sherman and welcome to the community.

I'm afraid, that's not possible natively, unless you use one of the so called 'theme' apps or an app that builds a genuine static website for you from Confluence content.

https://marketplace.atlassian.com/search?query=themes%20confluence

Most popular apps are:

  • Scroll Viewport
  • Spacecraft
  • Refined for Confluence

Then there are formatting macros app that focus on specific UI elements.

We're using Scroll Viewport and our site looks like this. (TOC appears at a certain width of the page).

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events