Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Heading sizes within section macro

Lance Tost August 5, 2012

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

0 votes
AlysonA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 7, 2012

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

0 votes
Matthew J. Horn
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 7, 2012

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events