It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
TAGS
Community showcase
Published in Next-gen

Keyboard shortcuts have arrived for next-gen projects!

...ollected feedback from users around the lack of shortcuts, and we’re here to address that: In next-gen projects, I miss the keyboard shortcuts badly. This is particularly true on the Board, but also i...

220 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you