The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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

Marcel Wilson
June 2, 2017

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.

ugly.png

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

black.pngblue.pngdark_blue.png

green.pnggrey.pnglight_blue.png

light_green.pngorange.pngred.png

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 5, 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.

 

Marcel Wilson
June 5, 2017

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:

{style}
#title-text a {
 color:#F6A01A;
}

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,
.pagetitle,
.steptitle,
.substeptitle,
.formtitle,
.wiki-content
.tablesorter-header-inner,
#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}
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 5, 2017

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

TAGS
AUG Leaders

Atlassian Community Events