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!

Thanks,
Patrick

1 answer

This widget could not be displayed.

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 Sign up to answer
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

50 views 0 1
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