Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Removing Title of page from PDF Export

Eby Panicker June 3, 2019

I would like to export my Confluence pages with the Title of the page suppressed.

For example, if the page title is "<####> My Documentation", where <####> is a variable part. During exports, "<####> My Documentation" is first printed and then the rest of the content is present and I do not want this title to be printed.

I came across the following PDF Export Stylesheet

.pagetitle h1 { display: none; }

But in addition to hiding the title, it hides all the heading of type H1. Is there any way to achieve the required result?

1 answer

1 vote
Jesús Jorge Muñoz December 20, 2019

Hello Eby,

I believe the code you posted works on Confluence Cloud, but not in Server version. You can replace it by this one:

h1.title-header{
display: none;
Daniel Fietta
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.
September 10, 2020

This works perfectly. Thank you!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events