Forums

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

Customizing font color on the Children Display Macro in Confluence

Patrick Lim
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 15, 2013

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

0 votes
Steffen Heller
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.
April 30, 2015

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
AUG Leaders

Atlassian Community Events