Heading sizes within section macro

I noiced that my headings that are supposed to be the same size (ie., Heading 1) appear differently inside a section macro... possibly in combination with tip/warn/note macros within the same section.

I created a new page basically like this:

Heading 1


Heading 1


Heading 1


Heading 1

All looked ok.. then I created a section at the top and copied and pasted the headings and other macros above into the section... after pasting, The 2-4th headings were smaller than the first. Then, when I put a new heading1 into the page, it was bigger than even the 1st one. Tried replicating on another page, but doesn't seem to follow a pattern.

2 answers

Does the CSS specify different values for, say, "wiki-content h1" versus "wiki-content section-type h1"?

Note that the spaces between h1 and the other words in quotes are important. They indicate that h1 is a child of the previous element.

What this might mean is that in one situation, an h1 looks one way. But when embedded within a particular container (or any div that uses the container's id), it might appear another way.

I believe you might be running into a variation of this bug: https://jira.atlassian.com/browse/CONF-25496

looks like Confluence gets lost when trying to wrap up a heading inside a section macro. I have voted on this bug to increase its popularity, feel free to add yourself as a watcher for future references.

Let's see if someone has found a workaround for that.


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 ...

912 views 45 7
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