Jump to content

Can I change the styling of multilevel numbered lists?

Recommended Posts

Site URL: https://westernultimateleague.com/covid19-protocols/

Hi, on this page https://westernultimateleague.com/covid19-protocols/ I have a numbered list and the default styling when I indent is just more numbers. I want the first level to be numbers, 2nd level lower case alphabet, 3rd level lower case roman numeral. i.e.:

1. 

    a. 

          i.

I tried adding this to the custom CSS but nothing changes. What am I doing wrong?:

ol ol{
 list-style-type:lower-alpha;
}

 

Edited by Streborz
add example
Link to comment

I got some help from a coder friend and fixed it last night. Here was the solution:

ol[data-rte-list] li ol[data-rte-list] li{
    list-style-type: lower-alpha;
}

ol[data-rte-list] li ol[data-rte-list] li ol[data-rte-list] li{
    list-style-type: lower-roman;
}

ol[data-rte-list] ol[data-rte-list] li>*:first-child::before {
    content: "";
}

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.