How to make headings not bold?

I have changed the font of the headings using custom CSS, but the text for H3, H4, H5, and H6 is still bold, which is the default if you're using the regular Confluence theme. This is the code that I am using:

.wiki-content h1, h2, h3, h4, h5, h6 {
    font-family: 'Antic Slab', Rockwell, serif;
    font-weight: normal;
    }

font-weight should be working, but it's not! Any suggestions?

Thanks in advance!

1 answer

1 accepted

Your CSS is missing some specificity. I'd recommend splitting rules over multiple lines, it allows you to spot issues like this. Eg:

.wiki-content h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Antic Slab', Rockwell, serif;
    font-weight: normal;
}
 
/* Should be like this instead... */
 
.wiki-content h1,
.wiki-content h2,
.wiki-content h3,
.wiki-content h4,
.wiki-content h5,
.wiki-content h6 {
    font-family: 'Antic Slab', Rockwell, serif;
    font-weight: normal;
}

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,776 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