PDF Export - headings and table of content question

PT
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!
January 22, 2021

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
AUG Leaders

Atlassian Community Events