Setting Heading Styles on Confluence Cloud

Hi All,

I am looking to limit the options for heading colours presented to our page creators.

Is there a way to limit the colour of H1 to only #636363 for instance or in the absence of this functionality can we set the default colour for this heading to #636363.

Thank you for your help.



1 answer

Hi Scott,

While I'm not aware of any option to limit the colour of the headings completely (Confluence applies custom colours directly to the HTML element), there is a way that you can change the default colour. Just put this in your footer box of the "Header and Footer" section in the settings:

.wiki-content h1 { color: #636363 !important }
div[class^='SpaceCustomSettingsBlock_unsupportedMacros'] { display: none }

The first line changes the default colour of the h1 block, and the second line removes the ugly message that the style macro is not supported in the footer.

Of course you could also use various theming apps, especially if you are wanting to make multiple such changes, but for this one change, this should do.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,477 views 114 8
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