How can I right align the TOC

Shivani Goel
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!
January 17, 2022

I want to edit the Table of Contents macro and want to right line to the page. I also want to add the head : on this page. How do I do that? 

 

I have tried adding the heading indent. 

1 answer

1 accepted

2 votes
Answer accepted
Andy Gladstone
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 17, 2022

@Shivani Goel welcome to Confluence! The best way to right align the ToC macro is to use the layout panes and place the TOC in the rightmost pane. Otherwise, if placed on a blank  page in the edit space it will always be centered. Once you are doing that, you can add any text, such as "On this Page" above the ToC Macro.

I use this often on my pages and it really helps keep them standardized and visually appealing. Hope this advice helps!

Shivani Goel
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!
January 17, 2022

Thank you @Andy Gladstone

It helped !

Just curious - So there is no way we can do it using div tag ? The pane method divides the page into two sections. Isn't there a way we can make the TOC floating? 

Like Adam Barnett likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events