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

Delmar Larsen


It appears part of the code didn't process through the forum properly. I updated the complete text to Chapter 3. This is CSS and should go in a CSS block. You can add that from the style options in the editor or just copy the top HTML code from the Chapter 3 top level and past into the other sections.

Please let me know if this doesn't work for you.


On 1/12/2022 7:06 PM, Anna Mills wrote:

[Edited Message Follows]

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?

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

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.

LibreText project (
The Future is Open

Please if you would let us know if you are using LibreTexts in your class:
Weekly Libretexts Office Hours Zoom meetings (open to all) on Tuesdays and Thursdays at 9:00 am (PDT):

Request Instructor Account:
Request Harvesting of OER Resource:
Full Construction Guide:
Construction Forum:
RealTime Chat:
YouTube Channel:

Join to automatically receive all group messages.