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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,120 views 17 14
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