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

tip

Heading 1

note

Heading 1

warn

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.

Cheers

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Monday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

199 views 3 3
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