How to add tabs in a confluence page?


I want to add different tabs inside a confluence page with custom tab names and colors. I tried using the composition set up macro with deck and card macro like the following sample code




This is the first tab's content



This is the second tab's content




But, Nothing gets displayed on the page. Somebody help!


3 answers

1 accepted

Just use the composition setup at the top, not surrounding the main body.

Oh, just got it working! for some reason didnt show up in preview. Thanks a lot!

You mean have the composition setup macro at the top and not at the bottom? I tried that too...still nothing! Am i missing something?

Are you using Confluence 4? In this case the composition-setup macro is not required for deck/cards. Just use those macros directly.

No, Im using Confluence 3.5

I came across navitab macro. It automatically pulls in all the pages assocated with a root page and assigns them as labels. Also clicking the tab opens up the page associated with it. It doesnt give you a snapshot of the content. So basically this macro doesnt serve the purpose but it might be useful if you want the page links to be presented in a cool way!

What version of confluence is this in.  I am trying to make the tabs across the page but dont see how I can go into the source code platform to update the code only see the view mode and edit mode to update the pages I have .  Can you assist.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

791 views 33 5
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