(Squarespace) Add Number before Accordion Title

To add Number before Accordion Titles, you can use this code to Website > Website Tools > Custom CSS.

li.accordion-item {
    counter-increment: tabs;
}
li.accordion-item span:before {
    content: '0' counter(tabs) ".";
    font-size: 20px;
    font-weight: bold;
}

2 Likes