Forums

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

How to display child macro in 2 column

Bah026 December 3, 2018

I would like to display the list of childs on the first page, but it's a long list, so  I want to display them in 2 column

1 answer

0 votes
Krisztian Kovacs
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.
December 3, 2018

HI @Bah026,

unfortunately the workaround is quite manual.

If you divide your children display into 2 or more groups you can have two or more macros displaying children of specific lower level pages, if that makes sense.

Alternatively you can add a CSS macro (if you have the scriptrunner addon) or alter the source code of the page (addon) and then you can do some fancy CSS for what the macro renders on the page (this would require a bit of searching around in the developer console to find the proper classes or IDs to reference in your css).

Let me know if any of these ideas look good.

Bah026 December 4, 2018

Hi @Krisztian KovacsKrisz

"Dividing your children to 2 group" what do you mean by that?

Krisztian Kovacs
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.
December 4, 2018

I'd identify the child pages of my page (hopefully not more than 4-6 and then show their children. So I'd have 4-6 children display macros for the "main children" pages of my page.

Does that make sense?

Bah026 December 4, 2018

Actually, I create a 2 column section each contain children display macro.

With the first one, I can limit the macro to show only the first 4, how I can enforce the Children display macro on the second section to start the children from 5 and above? 

Krisztian Kovacs
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.
December 4, 2018

That's why I didn't recommend that. You can't (as far as I know).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events