It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Adding a seventh header to edit Confluence pages

I am hoping someone can help me with adding a seventh header to my Confluence toolbar when editing a page. I have created a stylesheet for automated numbering, and I have one more level I need to label.

h7 currently enables 'preformatted' text, which I have found does not allow me to change the CSS. 


image2016-8-10 17:20:45.png 

 

Are there any tips that will allow me to add one more header to Confluence? 

1 answer

1 accepted

0 votes
Answer accepted
Bill Bailey Community Leader Aug 11, 2016

First, speaking as a tech writer, why on Earth would you want to have an h7? wink

Second, there is no h7 HTML tag. Why you have trouble controlling it.

But assuming that is not enough to stop you,  you have two options, both not pretty.

  • Create a user macro that wraps text in a classed p tag (or h6 if you want it recognized in the hierarchy). You will then need to write CSS to style it properly.
  • Write a plugin for the TinyMCE editor that Confluence uses to add your custom style (again classed p tag or similar) to the format pull-down plus CSS. This will be a lot of work but will appear like any other format.

Save

Thanks for the tips, I will look at reformatting some content. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Confluence Server & Data Center 7.0 is here!

Hello Community 👋🏼 I’m Makisa, a product manager on Confluence Server and Data Center. Confluence Server & Data Center 7.0, our latest platform release, is now available and we wanted to shar...

157 views 0 11
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you