change css space styling for table headers

This page (as well as helpful insights  by other users) was very helpful for changing basic Header styles: 

https://confluence.atlassian.com/doc/styling-fonts-in-confluence-174751968.html

It provides the following helpful starter: 

body {
font-family: Times, "Times New Roman", serif;
font-size: 14px;
}
.wiki-content,
.wiki-content p,
.wiki-content table,
.wiki-content tr,
.wiki-content td,
.wiki-content th,
.wiki-content ol,
.wiki-content ul,
.wiki-content li {
font-size: 14px;
}

But I haven't been able to find explanations for using those styles listed.

Some basic page content that I need to alter syles for are:

1) Table headers and detail rows (I found that .wiki-content tr, and .wiki-content td, both do this BUT for headers and detail rows together. I was not able to split them up).

2) Space footer

 

Thanks for any ideas.

Mordechai

 

1 answer

1 accepted

1 vote

1) Regarding table styling:

  • Header rows can be targerted using .wiki-content th  
  • Additional cell can be targeted with .wiki-content td
  • Only use .wiki-content tr if you want to impact all rows in the table, for instance if you want to force a minimum height.  The td and th elements are nested in tr.

2) For footer, you should be able to use #footer .footer-body

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,768 views 26 10
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