On screen the 'title' of an expand macro is the same size as the rest of the body text.

      In the PDF export it is heading sized. See the attached PDF for an example.

      We use this macro frequently in our own documentation and I would imagine our customers do too. I see this issue as on the verge of critical.

      Workaround

      • Install the Confluence Source Editor plugin (this will place a <> icon on the top-right of the editor when editing a page
      • Enclose your macro within a div of the wiki-content class:
        Add the following line right before <ac:macro ac:name="expand">
        <div class="wiki-content">

        and this line after the closing tag of the expand macro (</ac:macro>):

        </div>

            [CONFSERVER-26613] In PDF Export the Expand Macro title is heading sized

            rembrand_dropsolid added a comment - - edited

            We have this issue on the current version of Confluence. The title seems to render as an H2 in the PDF.

            Confluence 1000.0.0-54e101d7235b

            rembrand_dropsolid added a comment - - edited We have this issue on the current version of Confluence. The title seems to render as an H2 in the PDF. Confluence 1000.0.0-54e101d7235b

            Minh Tran added a comment -
            Atlassian update

            Thank you for taking the time to raise, comment or vote on this Bug. Currently this bug indicates that it only impacts a version of Confluence which is no longer in support, therefore we are closing this issue as Timed Out.
            If this issue is still impacting you on a recent version please feel free to comment with the affected version. Any further details you may be able to provide regarding reproduction or impact of this issue may help us better address this issue.
            Thanks again.
            Regards,
            Confluence Development

            Minh Tran added a comment - Atlassian update Thank you for taking the time to raise, comment or vote on this Bug. Currently this bug indicates that it only impacts a version of Confluence which is no longer in support, therefore we are closing this issue as Timed Out. If this issue is still impacting you on a recent version please feel free to comment with the affected version. Any further details you may be able to provide regarding reproduction or impact of this issue may help us better address this issue. Thanks again. Regards, Confluence Development

            I've tried using the PDF CSS workaround in Confluence 4.3.1 and it doesn't work. I've notice that we generally have trouble with overriding the default style sheet, any hints on what the problem might be?

            Phil Gochenour added a comment - I've tried using the PDF CSS workaround in Confluence 4.3.1 and it doesn't work. I've notice that we generally have trouble with overriding the default style sheet, any hints on what the problem might be?

            This does the trick:

            .expand-control {  
            display: none ;  
            }
            

            Ruben Van Wanzeele added a comment - This does the trick: .expand-control { display: none ; }

            Is there anything you can add in your pdf stylesheet to overcome this. I don't feel like changing all pages over again.

            Ruben Van Wanzeele added a comment - Is there anything you can add in your pdf stylesheet to overcome this. I don't feel like changing all pages over again.

            As a workaround, I have tried the following and it worked out well:

            • Install the Confluence Source Editor plugin (this will place a <> icon on the top-right of the editor when editing a page
            • Enclose your macro within a div of the wiki-content class:
              Add the following line right before <ac:macro ac:name="expand">
              <div class="wiki-content">

              and this line after the closing tag of the expand macro (</ac:macro>):

              </div>

            Peter Koczan (Inactive) added a comment - As a workaround, I have tried the following and it worked out well: Install the Confluence Source Editor plugin (this will place a <> icon on the top-right of the editor when editing a page Enclose your macro within a div of the wiki-content class: Add the following line right before <ac:macro ac:name="expand"> <div class="wiki-content"> and this line after the closing tag of the expand macro ( </ac:macro> ): </div>

              Unassigned Unassigned
              pcurren Paul Curren
              Affected customers:
              6 This affects my team
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: