Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Formatting for the Expand macro

Looking to add some formatting to an expand section for my team to make an expand selection more visible. Instead of a white background with blue font, I was hoping to have a gray background when it is collapsed, similar appearance to the heading row of a table.

 

Is this possible? Please include a step by step how to if so, thanks!

2 answers

1 accepted

4 votes
Answer accepted
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 26, 2020

Hello @Maicen Young !

Currently, there are no formatting options that allow you to achieve the objective that you need. Here is our documentation on the macro:

What you could do to achieve a similar result is to insert the expand inside a table header cell:

In Edit mode:

Anotação 2020-02-26 184417.jpg

In view mode

Anotação 2020-02-26 184531.jpg

Doing this will render a gray background while the Expand is collapsed. Hope this helps! Looking forward to your reply.

Thank you @Diego this works great!

Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 28, 2020

Glad to know that this helped you out!

This is the way

You might also consider UI Expand Macro, part of the Refined Theme for Confluence.  It includes a suite of enhance macros that provide a bit more flexibility.  Interestingly the default for their expand macro happens to be with a gray background as you described.

Where is the UI Expand Macro found? I am running Confluence Data Center 7.4.1

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events