Formatting for the Expand macro

Deleted user February 25, 2020

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

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

Hello @[deleted] !

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.

Deleted user February 27, 2020

Thank you @Diego this works great!

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

Glad to know that this helped you out!

Lukáš Balon June 1, 2022

This is the way

Alis Ward
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!
November 29, 2023

I can't help but wonder what it'll be like to try and navigate that with assistive tech... sounds awful.

Like Kristina Lauer likes this
0 votes
K Langford April 13, 2020

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.

Cory Beck July 24, 2020

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