Re: Is there a way to make pages that won't show up in the chapter listing?


Anna Mills
 
Edited

That will do perfectly! I understand the desire not to add more tags.  However, it doesn't seem to have worked yet--but maybe I need to wait for something to compile?  I'm looking at Chapter 3 and the pages I want to hide from the TOC are 3.8.1, 3.8.2, and 3.10.1. I put the code at the top of their HTML.  Should I move it?
Thanks!
Anna
 


From: main@Libretexts-ConstructionForum.groups.io <main@Libretexts-ConstructionForum.groups.io> on behalf of Delmar Larsen via groups.io <delmar@...>
Sent: Wednesday, January 12, 2022 5:04 PM
To: main@Libretexts-ConstructionForum.groups.io <main@Libretexts-ConstructionForum.groups.io>
Subject: Re: [Libretexts-ConstructionForum] Is there a way to make pages that won't show up in the chapter listing?
 
Anna:

We can make this a standard thing over the page setting, but I am trying to avoid complicating things.

For now, if you paste this code into the HTML of the relevant pages, it will do what you want:

 
.mt-listings-simple li {
   display:none !important;
}

Let me know if this works or doesn't for you.
Delmar


Join main@Libretexts-ConstructionForum.groups.io to automatically receive all group messages.