Change the color of the background and text in a table heading

Hi, I would like to change:

  • the background color of table headings (default is grey)
  • the font color of the text in the table headings (default is black)

I want to change these in the css for the entire space.  I have tried overwriting various styles defined in aui.css, but none of them work.  I can change the font size of the table headings, but not the color.  Which css styles do I need to define to change these?  Thank you.

1 answer

Hi Nancy,

This page should have the information you need.

Thanks, Rob.  Unfortunately, that doesn't seem to work.  I tried pasting it in a space stylesheet, as well as a global stylesheet (both of which were initially empty) and there was no effect.  We are running Confluence 5.9.8.

Hi Nancy,

If you've not amended Confluence CSS before, these are good resources:

https://confluence.atlassian.com/doc/styling-confluence-with-css-166528400.html

https://confluence.atlassian.com/doc/basic-styling-tutorial-170000548.html

And the answer to this question, specifically about using Firebug or a Chrome alternative, might help: https://answers.atlassian.com/questions/37542974

As might this: https://answers.atlassian.com/questions/72186 

If you're really struggling there are Atlassian Experts who can help you achieve what you want.

Thanks, Rob.  I've been able to use Firebug to obtain the css paths of the table headers, and restyle them.  The paths are rather long, but at least they work.  smile

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

910 views 23 12
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