Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

Removing Title of page from PDF Export

Eby Panicker
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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
Contributor
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