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

Not possible to change the CSS styling of the page title that's exported into a PDF

XMLWordPrintable

      Problem Definition

      • Currently, the only way that you can change the styling of the PDF page title is by altering the .wikicontent h1 style element in a custom PDF stylesheet. While helpful, this isn't a good solution if you want the page title and h1 elements to have different stylings.

      Suggested Solution

      • Allow the ability to style the PDF page title by itself. The following classes were tried, but none impacted the styling of the page title:
      • assistive
      • with-breadcrumbs
      • aui-page-panel
      • content-navigation view
      • section-primary first
      • normal ajs-menu-item

      Workaround

      If you modify the .wiki-content class in the style sheet, that will render change to the page title.  However, the changes don't always match expectations and the changes will apply to the content nested within H1 heading tags.

              Unassigned Unassigned
              sshaw@atlassian.com Steve Shaw
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: