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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,459,285
Community Members
 
Community Events
176
Community Groups

How to change document title attributes for PDF export

Hello,

how do I change document title attributes for PDF export? I tried something like this in PDF export stylesheet (space stylesheet, not global);

#title-text a { font-size: 150%; text-align: center; }

but it doesn't work. There's very little info available on selectors available. Maybe #title-text isnt right thing?

Confluence server 6.15.7

 

2 answers

Got it!

...
/* Title */
h1:first-child {
    text-align: left;
    font-size: 34pt;
    font-variant: small-caps;
    font-weight: bold;
    padding: 200px 0px 100px 0px;
}
...

I'm having trouble with this fix. When the Confluence page I export has a Heading 1, then that heading ALSO receives the h1:first-child styling. How can I divorce the page's title from Heading 1 -formatted text?

I found your updated answer elsewhere!

/* Title */

h1.title-header {
    text-align: left;
    font-size: 34pt;
    font-variant: small-caps;
    font-weight: bold;
    padding: 200px 0px 100px 0px;
}

Hello,

I gave up :|

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events