Is there a way to prevent Headings 5 and 6 color from being lighter? Edited

I changed the Confluence 'Heading Text' color to fit with our company color scheme and found that Heading 5 and Heading 6 are always shades lighter from the original color.  This isn't obvious when the color is set to all black (#000000), but VERY apparent when using various colors.

As you can see, this is very hard to read when the color is too light.


Is there any way to prevent the last two headings from being lighter than the original color?




1 answer

1 accepted

1 vote
Accepted answer
Ann Worley Atlassian Team Jun 05, 2017


You can use CSS to "hard-code" the darker color. I made heading 6 dark red by using this in the space stylesheet:


.wiki-content h1,
.wiki-content h2,
.wiki-content h3,
.wiki-content h4,
.wiki-content h5,
.wiki-content h6 {
color: red;

Please see  CSS color Property and Basic Styling Tutorial for more details.


What is interesting is I've read multiple posts about how overriding the CSS is NOT possible.  But I did find that I was able to setup the custom header with a CSS override like so:

#title-text a {

table.aui > tbody > tr > th {
 color: #00B259;

h1, h2, h3, h4, h5, h6, 
.wiki-content h1,
.wiki-content h2,
.wiki-content h3,
.wiki-content h4,
.wiki-content h5,
.wiki-content h6,
#toolbar #format-dropdown .format-h1 a,
#toolbar #format-dropdown .format-h2 a,
#toolbar #format-dropdown .format-h3 a,
#toolbar #format-dropdown .format-h4 a,
#toolbar #format-dropdown .format-h5 a,
#toolbar #format-dropdown .format-h6 a,
.jim-table-header-content { color:#00B259; } .jira-tablesorter-header:hover,
.jira-tablesorter-header:hover .jim-table-header-content { color:#00B259; } {style}
Ann Worley Atlassian Team Jun 05, 2017

I knew there was someone on the Community with better CSS chops than mine. :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

56 views 3 2
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