In TOC, Omit ".......................... Pg No." from back-matter | Community
Skip to main content
Level 2
October 3, 2024
Solved

In TOC, Omit ".......................... Pg No." from back-matter

  • October 3, 2024
  • 1 reply
  • 530 views

I want to keep the page numbers in the TOC except for what is in Backmatter.

I do want the Headings in Backmatter to appear in TOC... but again, not the "...... " and not the page number.

 

How to accomplish this?

 

Something to go into CSS like this?

 

.toc-level-1.back-matter {
 ?????????
}

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by PrashantPa

@timdo3 

You can try the CSS below in your layout.css of your template.

 

 

.toc-level-1.back-matter::after { content: ''; /* Remove the dots for back matter entries */ display: none; /* Ensures nothing appears after the heading */ }

 

 

Please let me know if that doesn't work.

 

Thanks,

Prashant 

 

1 reply

PrashantPaAdobe EmployeeAccepted solution
Adobe Employee
October 3, 2024

@timdo3 

You can try the CSS below in your layout.css of your template.

 

 

.toc-level-1.back-matter::after { content: ''; /* Remove the dots for back matter entries */ display: none; /* Ensures nothing appears after the heading */ }

 

 

Please let me know if that doesn't work.

 

Thanks,

Prashant