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

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 Tuesday in United States

Topic Tuesday: What's your favorite topic?

Good morning All, Our goal is to get you into the habit of while enjoying your favorite morning drink you are checking the NOVA "space" for topics and comments. Your input is really needed and...

49 views 4 0
View post

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