In TOC, Omit ".......................... Pg No." from back-matter | Adobe Higher Education
Skip to main content
Level 2
October 3, 2024
解決済み

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

  • October 3, 2024
  • 1 の返信
  • 530 ビュー

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 {
 ?????????
}

このトピックへの返信は締め切られました。
ベストアンサー 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 の返信

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