Customizing font color on the Children Display Macro in Confluence

Hi there,

I'm trying to customize the color of the links that are coming from the Children Display Macro. I've tried enclosing it in divs, changing styling to h5 and adding css on h5 tags, I've tried inline CSS as well and nothing has been working. Looking at the source, logically it should work since the entire html code of the children display macro is wrapped on a div with css styles but it doesn't seem to apply it to the font.

Any help would be great!


1 answer

It does apply but is overwritten by some other styles that are higher in the CSS hierarchy.

Try to add more classes to increase the position in the hierarchy, something like this:

.YOUR_THEME_CLASS .wiki-content .YOUR_DIV_CLASS li a {
color: red;




Suggest an answer

Log in or Join to answer
Community showcase
Louis De Jaeger
Posted yesterday in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

154 views 12 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot