Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Employee

@TimothyJ 

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 

 

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

@TimothyJ 

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