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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

PDF Export - headings and table of content question

Hi folks - my first post / question

I am exporting a site to PDF and have had some success formatting the h1/h2 look via the PDF stylesheet.

Two questions:

Question 1)

One a regular page I am trying to target the page title text but my h1 style seems to keep taking priority. I.e my page headings (Name of confluence page) when exported are the same as any heading styled with h1. I have tried the following CSS but not working... can anyone help ?

//=============//

h1{
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
font-size: 14pt;
font-weight: bold;
text-transform: uppercase;
color:#006fcf;
}

h1#title-text{
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
font-size: 16pt;
font-weight: bold;
color:Black;
}

 

Question 2)

For the table of contents that gets exported via the PDF export function - does anyone know how to target and style the text based on table of content level - i have no idea how to target the levels as there is no HTML page created in order to see what is being used (confluence generates it in the background).

Would much appreciate any help :) 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

156 views 0 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you