travelI'm on Holidays until the 22th august.

The questions posted during this period will receive no answer, so please be patient and wait before posting in the forum. Thank you

New registrations are suspended during this period

Je suis en vacances jusqu'au 22 aout.

Je ne répondrai à aucune question postée durant cette période. Merci d'attendre mon retour. Merci

Les inscriptions sur le site sont suspendues pendant cette période

 

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Limit levels and unordered list

Limit levels and unordered list 06 Mar 2021 00:44 #59997

Is there a way to limit how many levels are shown? Can the table of contents be converted to an unordered list?

Please Log in to join the conversation.

Limit levels and unordered list 06 Mar 2021 01:50 #60000

The below css works, but I'm still wondering if there is another way to limit what gets pulled into the table of contents.
I'd also be interested in an unordered list option <ul>.
Thank you,

.table-of-contents-ck {
ol li ol li {display: none;}
}

Please Log in to join the conversation.

Limit levels and unordered list 06 Mar 2021 08:36 #60002

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 26632
  • Karma: 427
  • Thank you received: 3415
Hi
you can use this css to remove the numbering:
.table-of-contents-ck, .table-of-contents-ck ol {
    list-style: none;
}

you can do quite everything using CSS
CEd
Joomlack Webmaster and Developer

Please Log in to join the conversation.

  • Page:
  • 1
Time to create page: 0.180 seconds

Fast and powerful creation, customizable and responsive.

Read More

Qui est en ligne

We have 963 guests and no members online