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

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
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

3,910 views 15 38
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