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

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
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,943 views 27 12
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