Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-45380

adding custom header for Confluence space causing preview UI to break

      Steps to replicate :

      1. Install Confluence 6.0.1
      2. Login to Confluence
      3. Create a space
      4. Navigate to Space Tools >> Look and Feel >> Sidebar, header and footer
      5.  Add 'x' into the header field and click Save
      6.  Navigate back to the space home page and click edit
      7.  Click Preview

      Current result : The preview UI is broken as per the screenshot below :

      Expected result : The preview UI should be displayed properly.

      Workaround

      Adding to Global CSS ( > General Configuration > Stylesheet) can help

      body.contenteditor #custom-content-header {display:none;}
      body.contenteditor #custom-content-footer {display:none;}
       

            [CONFSERVER-45380] adding custom header for Confluence space causing preview UI to break

            SET Analytics Bot made changes -
            Support reference count Original: 9 New: 10
            Pascal Oberle made changes -
            Description Original: Steps to replicate :
             # Install Confluence 6.0.1
             # Login to Confluence
             # Create a space
             # Navigate to {{Space Tools >> Look and Feel >> Sidebar, header and footer}}
             # {{ Add 'x' into the header field and click Save}}
             # {{ Navigate back to the space home page and click edit}}
             # {{ Click Preview}}

            {{Current result : The preview UI is broken as per the screenshot below :}}
             {{!previewBreak.jpg|thumbnail!}}

            Expected result : The preview UI should be displayed properly.
            New: Steps to replicate :
             # Install Confluence 6.0.1
             # Login to Confluence
             # Create a space
             # Navigate to {{Space Tools >> Look and Feel >> Sidebar, header and footer}}
             # {{ Add 'x' into the header field and click Save}}
             # {{ Navigate back to the space home page and click edit}}
             # {{ Click Preview}}

            {{Current result : The preview UI is broken as per the screenshot below :}}
             {{!previewBreak.jpg|thumbnail!}}

            Expected result : The preview UI should be displayed properly.

            h4. Workaround
             Adding to Global CSS (!https://confluence.atlassian.com/support/files/790796813/947856965/1/1522298459209/cog-new.png|width=17,height=17! > General Configuration > Stylesheet) can help
            {code}
            body.contenteditor #custom-content-header {display:none;}
            body.contenteditor #custom-content-footer {display:none;}
             {code}
            Pascal Oberle made changes -
            Affects Version/s New: 8.5.4 [ 106320 ]
            Affects Version/s New: 8.5.11 [ 108690 ]
            SET Analytics Bot made changes -
            Support reference count Original: 8 New: 9
            Nitin Rastogi made changes -
            Affects Version/s New: 8.5.6 [ 106813 ]
            SET Analytics Bot made changes -
            UIS Original: 2 New: 3
            SET Analytics Bot made changes -
            UIS Original: 3 New: 2
            SET Analytics Bot made changes -
            Support reference count Original: 7 New: 8
            SET Analytics Bot made changes -
            UIS Original: 5 New: 3
            SET Analytics Bot made changes -
            UIS Original: 2 New: 5

              Unassigned Unassigned
              dooi Der Lun
              Affected customers:
              39 This affects my team
              Watchers:
              33 Start watching this issue

                Created:
                Updated: