Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Changing Table of Contents (TOC) level on PDFs saved from spaces

Carolyn Phillips January 16, 2022

I'm trying to change the level of headings on the table of contests that is saved when a PDF is created from a space. I only want levels 1 and 2 to show.

I have added this code(alterations in bold) to the PDF stylesheet (global and space), an alteration to the default code:

div.toclvl3, div.toclvl4, div.toclvl5, div.toclvl6, div.toclvl7,div.toclvl8,div.toclvl9,div.toclvl10,div.toclvl11,div.toclvl12
{
display:none;
}

It's not working. I don't know if I am using an incorrect syntax for the css.

 

Thanks in advance for any assistance.

 

Carolyn

1 answer

0 votes
Fabian Lim
Community Champion
January 17, 2022
Carolyn Phillips January 17, 2022

Thanks Fabian, I have read that article.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events