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 or Create an account 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 or Create an account to join the conversation.

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

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 25090
  • Karma: 427
  • Thank you received: 3155
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 or Create an account to join the conversation.

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

Fast and powerful creation, customizable and responsive.

Read More

Qui est en ligne

We have 829 guests and no members online